Jump to content
Larry Ullman's Book Forums

Using $_Get In Chapter 8 - Creating Web Applications

Recommended Posts

Ive been using what Ive learned this book for a long time now but Im stumped on something.


I have a situation where I can not use a drop down list so I was going to use a links instead.


link: href="index.php?p=performances?performance=Life_After_50"


Im stumped as how to handle this code.


In the index.php page I see the code:



//Validate what page to show


$p = $_GET['p'];

} else if( isset($_POST['p'])) { //form

$p = $_POST['p'];

} else {

$p = NULL;



But how does the page get redirected back to the performances.inc.php to access the performance variable data Life After 50?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...