Page 1 of 1

Headers with Vars

Posted: Tue Aug 22, 2006 1:07 am
by nickman013
Hello,

I have a header with variables in it. Apparently they dont work.

Code: Select all

header('Location:http://www.site.net/displaymuot.php?muotid=$who');
How can I make that work?

Thanks!!!!!!!!!

Posted: Tue Aug 22, 2006 1:26 am
by feyd
Single quote strings don't parse variables.

Some reading: http://php.net/language.types.string

Posted: Tue Aug 22, 2006 1:37 am
by nickman013
thanks!!