RE: [PHP] HTML meta tag and PHP
| From: | david joffrin | Date: | Tue, 29 Mar 2005 23:51:17 +0000 |
| Subject: | RE: [PHP] HTML meta tag and PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-211825@lists.php.net to get a copy of this message | ||
I tried the following scenario and here is the outcome:
.../registration.php?step=4&userId=<%php%20trim($_POST[
with that line:
<meta http-equiv="Refresh" content="0;url=registration.php?step=4&userId=<%php trim($_POST["userid"]); %> ">
Any idea?
From: "Pablo Gosse" <gossep@unbc.ca> To: "david joffrin" <david_joffrin@hotmail.com>,<php-general@lists.php.net> Subject: RE: [PHP] HTML meta tag and PHP Date: Tue, 29 Mar 2005 14:51:39 -0800 <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> Sorry, I botched my previous reply and left the extra " after userId. It should be: <meta http-equiv="Refresh" content="0; url=registration.php?step=4&userId=<%php echo trim($_POST["userid"]); %> "> Pablo. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php