RE: HTML meta tag and PHP

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

 



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@xxxxxxx>
To: "david joffrin" <david_joffrin@xxxxxxxxxxx>,<php-general@xxxxxxxxxxxxx>
Subject: RE:  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


-- 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