Re: Returing multiple rows based on 2 criteria
Posted by:
chris d
Date: December 09, 2012 11:03PM
Thanks for the quick replies Barry,
Yeah, that code correctly retrieves the first record with orderID 100012, and correctly outputs item 100 which is "Eggs on a roll" but now i want to retrieve the next item in that table with an orderID of 100012 and display it, which is item 103 and so on and so forth.
The goal is to output a comma separated list of all items that belong to a particular orderID.
Im under the impression that when i use mysql_fetch_array that it only retrieves and stores one single record into whichever array variable i declare it to.
Thanks again!
Subject
Written By
Posted
December 09, 2012 07:04PM
December 09, 2012 08:43PM
December 09, 2012 10:17PM
December 09, 2012 10:29PM
December 09, 2012 10:36PM
December 09, 2012 10:56PM
Re: Returing multiple rows based on 2 criteria
December 09, 2012 11:03PM
December 09, 2012 11:06PM
December 09, 2012 11:08PM
December 10, 2012 01:46PM
December 10, 2012 03:08PM
December 10, 2012 03:28PM
December 10, 2012 06:37PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.