Search results

  1. Z

    In PHP, why does my array overwrite the last item I inserted?

    if ($itemDBasename == "Flyff1") { global $itemName; global $itemQuan; $itemName[] = "Flyff20"; $itemQuan[] = $itemtoBuy; } In the sample code above, both $itemName and $itemQuan are values passed from a Session variable. It has no starting value. However, when I display the contents of the...
Back
Top