Jump to content

Someone help with Header echo?


gaza165

Recommended Posts

hi guys

 

how can i redirect using this header... i cant seem to write it out properly without an error....

 

 

$header = "../blog/".str_replace(" ","_",strtolower($title));

	if(empty($name)) { $msg = "You need to enter a name"; header("'Location:".$header."');" }

 

the $header is right... just cant get the thing to redirect back to the right place... thanks

 

Garry

Link to comment
https://forums.phpfreaks.com/topic/127473-someone-help-with-header-echo/
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.