RE: HTML meta tag and PHP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



<snip>
How can I write something like that?
<meta http-equiv="Refresh" 
content="0;url=registration.php?step=4&userId="<%php echo 
trim($_POST["userid"]); ">

This is obviously not working as the " is assumed as the closing " for
the 
meta tag.
</snip>

You haven't closed your opening php tag, which is why it's not working.

<meta http-equiv="Refresh" 
content="0; url=registration.php?step=4&userId="<%php echo
trim($_POST["userid"]); %> ">

Is how it needs to be to work.

HTH,

Pablo

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux