Using the $id on the same page
Posted: Thu Apr 16, 2009 4:09 pm
Hi guys, Simple question for you here:
I was wondering how I can get more than one id on the same page
I am making a 'ecommerce' website and I need to put like 4 item on the same page.
$name=mysql_result($result,$i,"name");
$price=mysql_result($result,$i,"price");
$description=mysql_result($result,$i,"description");
$picture=mysql_result($result,$i,"picture");
This is what I actually have, but how can I work with the $id function.
I already got it setted in mysql database, I just dont know how to use it yet.
Thanks for the help!
I was wondering how I can get more than one id on the same page
I am making a 'ecommerce' website and I need to put like 4 item on the same page.
$name=mysql_result($result,$i,"name");
$price=mysql_result($result,$i,"price");
$description=mysql_result($result,$i,"description");
$picture=mysql_result($result,$i,"picture");
This is what I actually have, but how can I work with the $id function.
I already got it setted in mysql database, I just dont know how to use it yet.
Thanks for the help!