Jump to content

bwouters

Members
  • Content Count

    4
  • Joined

  • Last visited

Community Reputation

0 Neutral

About bwouters

  • Rank
    Newbie

Profile Information

  • Location
    Utrecht
  1. bwouters

    php array help

    The answer: $items = array(); foreach ($rows as $row) { $items[] = array("item" => $row["item"], "brand" => $row["brand"], "number" => $row["number"], "price" => $row["price"], "start" => $row["start"], "end" => $row["end"], "shop" => $row["shop"], "location" => $row["location"], "link" => $row["link"] ); }
  2. bwouters

    php array help

    Dear Ingolme, Thank you so much!!! I spent hours looking at it and now due to your help it is working. I am really really thankful with your help!! Bart
  3. bwouters

    php array help

    Thanks, however I am still receiving the same error msgs.
  4. bwouters

    php array help

    Dear reader, On my own server I created the following code that is working perfectly: $items = []; foreach ($rows as $row) { $items[] = [ "item" => $row["item"], "brand" => $row["brand"], "number" => $row["number"], "price" => $row["price"], "start" => $row["start"], "end" => $row["end"], "shop" => $row["shop"], "location" => $row["location"], "link" => $row["link"] ]
×
×
  • Create New...