hi folks! I really need your help. I have made a database with MYSQL. Then I printed to the screen as a table,the table contains last name and first name,I want to do link the first column. If I click the first name
for example it will go to another page which shows in details the user information that i click before,
if i click the third name it shows the third user"s information, The link guide to the same page for every user ,
and that"s the problem, How i the link can understand that i click the first or the third or another user for example?Huh Please answer soon because i have to make it until this sunday ... Thanks!!
P.S.: Sorry for my english ......
hello from Greece!!!!!!!
Moderator: General Moderators
Re: hello from Greece!!!!!!!
Hello neighbour 
Use something like this:
Then you will have its value in $_GET in getinfo.php.
Use something like this:
Code: Select all
<a href="getinfo.php?first_name=$first_name">$first_name</a> <a href="getinfo.php?last_name=$last_name">$last_name</a> There are 10 types of people in this world, those who understand binary and those who don't
Re: hello from Greece!!!!!!!
Thank you very much my friend
Re: hello from Greece!!!!!!!
any other suggestions would be ok!!
Re: hello from Greece!!!!!!!
Geia sou kai egw apo Ellada
From what I understood is that you are trying to create a paginated table output from an SQL database.
VladSun's code will work, but I suggest you look more into pagination scripts. I still have minor problems understanding them and making them efficient, but clients ask for them all the time.
kai min anxonesai!
From what I understood is that you are trying to create a paginated table output from an SQL database.
VladSun's code will work, but I suggest you look more into pagination scripts. I still have minor problems understanding them and making them efficient, but clients ask for them all the time.
kai min anxonesai!
Re: hello from Greece!!!!!!!
entaksei bre patrida
Keep going!!!
Keep going!!!