Kinglake
11-29-2010, 05:09 PM
Hi all,
Just wandering how i would go about showing the database entry with the same ID number as the value of a variable.
Lets for now say this said variable is called $Current_Item.
If $Current_Item = 5, i want to show the Database record with the ID number 5.
I know how to echo the values of the database, but i cant seem to work this out.
Any help is greatly appreciated! Thanks.
Just wandering how i would go about showing the database entry with the same ID number as the value of a variable.
Lets for now say this said variable is called $Current_Item.
If $Current_Item = 5, i want to show the Database record with the ID number 5.
I know how to echo the values of the database, but i cant seem to work this out.
Any help is greatly appreciated! Thanks.