Page 1 of 1

Using the $id on the same page

Posted: Thu Apr 16, 2009 4:09 pm
by musson
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!

Re: Using the $id on the same page

Posted: Thu Apr 16, 2009 5:32 pm
by musson
thanks :) very helpful, Do you think you can help me on this one?
I keep ketting this error Could not connect: Access denied for user 'skaberone'@'cgi0504.int.bizland.net' (using password: YES)
you probably know what it mean :p
thanks a lot again