Jump to content

Recommended Posts

ok i have a search forum on my new site and well i need it to go to a new page were the search results will be shown

 

i have this code for it to show the results on the same page

			<?
			if ($search != NULL) {
			include("includes/results.php"); //If search variable is not = NULL display search results.
			}
			?>

 

but this is just not working any more

 

<?PHP (READ" ALL HELP APPRECIATED " ?>

 

i know about the new goto function but i dont know if that wood work or not thanks

Link to comment
https://forums.phpfreaks.com/topic/172787-need-help-plz/
Share on other sites

hahaha wood.

 

you could put that after your if statement, but if you are relying on post data being passed to the results page to show your results, you aren't going to want to do that. Why not just set your form's action to your results.php page?

Link to comment
https://forums.phpfreaks.com/topic/172787-need-help-plz/#findComment-910986
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.