Jump to content
Larry Ullman's Book Forums

ailime

Members
  • Content Count

    4
  • Joined

  • Last visited

Community Reputation

0 Neutral

About ailime

  • Rank
    Newbie
  1. Mr. Ullman Thank you for your quick reply. I am referring to code on chapter 7, page 166. It says you can use foreach loop to iterate through the $books array. The code for the loop is: foreach ($books as $key => $value) { print "<p>$key: $value</p>\n"; } I've checked the code several times. I even used the downloaded code. The error it throws is array to string conversion in localhost/..... . I am using the latest apache and php version as I installed it only two weeks ago.
×
×
  • Create New...