Re: how do I pass a variable with header?

From: Date: Sat, 21 Apr 2007 19:11:37 +0000
Subject: Re: how do I pass a variable with header?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-253440@lists.php.net to get a copy of this message
Ross wrote:
header('Location: edit_property.php?property_id=.'$property_id'.');
You read the manual to learn basic PHP syntax. header('Location: edit_property.php?property_id='.
                  urlencode($property_id));
Also, technically the URL given in a location header should be absolute not relative. -Stut

« previous php.general (#253440) next »