PHP isset question

houssam_ballout

New Member
Hello all,
I've built a single page, that retrieves a data from database.
For example, on the php page, I've added the link:
<a href='test1.php?id=1'>anything </a>
<a href='test1.php?id=2'>anything </a>

when I click on one of it, I want the next page to display the results from sql query, but I don't know how to use it id (like: id=1) from the isset, to use it??
Any help
 
isset works by telling you if a variable contains data, it cannot tell you what is in it. If you need to check the contents use an if statement.
 
Back
Top