RE: [PHP] HTML meta tag and PHP
| From: | Pablo Gosse | Date: | Tue, 29 Mar 2005 22:47:53 +0000 |
| Subject: | RE: [PHP] HTML meta tag and PHP | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-211821@lists.php.net to get a copy of this message | ||
<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