On the page there is a form for filling a resume. Each is entered into the mysql database. Under the form must display a list of current resumes. Each link (full name) - view summary. How to generate links from below and process them in php. Type as in the form of action indicated and all. Well, I know the number and add. What should the link contain? I understand that on one file that will handle everything. And how to find out in it from which link was the transition? You can link where to read.

P.S. I just recently started learning php)

  • @Andrey Baksh, you are lazy, my friend. It would be if you were learning to play chess, read the first line in the book: "There are pieces and a chessboard in chess", put the book down and start to fill up others with questions. Learn the basics and I assure you that so many questions will disappear by themselves. And so you and yourself, and torment others. - Deonis
  • I learned the basics. The rest is all realized. Left a list. Just no experience. Here I am typing ... - Ray

1 answer 1

We display the link, as $user_id set the unique identifier of the user (resume), which is stored in the database, $user_name username or any other information

 echo '<a href="/somefile.php?user_id=',$user_id,'">',$user_name,'</a>'; 

somefile.php:

here the user id will be in the $_GET['user_id'] variable, by this identifier we find the necessary user (resume) in the database and display the necessary information.

  • Approximately and represented. Thank. - Ray
  • @Andrey Baksh, If you are given an exhaustive answer, mark it as correct (click on the check mark next to the selected answer). - Alex Kapustin
  • Sorry, pressed a finger up. Did not know) - Ray
  • @FLK, but not commas for string concatenation, but dots. And it would be nice to check that $ _GET ['user_id'] is a number =) - kemerov4anin