Jump to content

need help plz


darklexus2k9

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

Archived

This topic is now archived and is closed to further replies.

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