Can any one help.
I am trying to store items from a database into a empty array.
I can store one item from the database but i am not sure how to add more than one item into the array this problem has stumped me for a month know so if any one can help. Below is the code i have written to connect to the database.
I basicaly need to store the information from $cart into $items as the user goes through the web stie all the information will be stored on the $items array.
$id = "SELECT * FROM Games_Database WHERE ID = $id";
$query = mysql_query($id,$conn) or die(Wrong);
$result = implode (":", mysql_fetch_row($query));
$cart = explode(":",$result);
$items = array();
$tiems[]=$cart;