Page 1 of 1

clicking on a link gets the required info form the data base

Posted: Tue Jun 03, 2003 4:39 am
by gasoga
Hey ,

I was wondering if anyone could tell me how i could get information from my database by clicking on a link.

Basically i have a table displayed on my website , each row in that table has its id displayed , i want to be able to click on that id and it takes all the information out of the database to do with that row.
ANy ideas how id go about doin this???

Thanx

Posted: Tue Jun 03, 2003 4:41 am
by twigletmac
Basically you use the information passed in the link in an SQL SELECT statement that grabs all the information you need from the database then you put that info into the format you want for display.

Mac

Posted: Tue Jun 03, 2003 9:07 am
by Takuma
For more information you can goto MySQL.com and find the documentation section. SELECT is what you looking for as previously said! :wink:

Posted: Tue Jun 03, 2003 10:06 am
by gasoga
Thanx for your help got it sorted!! :D