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

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
gasoga
Forum Commoner
Posts: 36
Joined: Thu Apr 17, 2003 4:15 am
Location: Ireland

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

Post 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
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post 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
User avatar
Takuma
Forum Regular
Posts: 931
Joined: Sun Aug 04, 2002 10:24 am
Location: UK
Contact:

Post 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:
gasoga
Forum Commoner
Posts: 36
Joined: Thu Apr 17, 2003 4:15 am
Location: Ireland

Post by gasoga »

Thanx for your help got it sorted!! :D
Post Reply