oops, that should be htmlentities, not htmlspecialchars.
- Jeff
On 3-Oct-05, at 11:51 AM, Jeffrey Sambells wrote:
$PHP_SELF should not be used because it will not work without
register_globals being enabled. Rather, you should use $_SERVER
['PHP_SELF'] for it as above however...
Don't for
can someone show me the right way to do the following...
I want to pass a variable to a self submitting link.
Thanks,
$PHP_SELF should not be used because it will not work without
register_globals being enabled. Rather, you should use $_SERVER
['PHP_SELF'] for it as above however
- Original Message -
From: "A.J. Brown" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, September 27, 2005 3:26 PM
Subject: Re: [PHP] passing a variable with php_self
">
works well too
--
Sincerely,
A.J. Brown
"Jim Moseby" <[EMAIL PROTECTED]>
A.J. Brown wrote:
">
works well too
works only if register_globals is on, doesn't it?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
-general@lists.php.net
>> Subject: [PHP] passing a variable with php_self
>>
>>
>>
>> can someone show me the right way to do the following...
>>
>>
>>
>>
>> I want to pass a variable to a self submitting link.
>>
>> Thanks,
>>
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Ross wrote:
> can someone show me the right way to do the following...
>
>
>
> I want to pass a variable to a self submitting link.
Easiest way to do that is to use sprintf() or printf():
%s', $_SERVER['PHP_SELF'],
$link_title);
?>
Or, like you did with inline code in the HTML:
click my
sel
> -Original Message-
> From: Ross [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 27, 2005 8:58 AM
> To: php-general@lists.php.net
> Subject: [PHP] passing a variable with php_self
>
>
>
> can someone show me the right way to do the following...
>
[snip]
can someone show me the right way to do the following...
I want to pass a variable to a self submitting link.
[/snip]
echo $_GET['action'] . "\n";
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
can someone show me the right way to do the following...
I want to pass a variable to a self submitting link.
Thanks,
R.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
9 matches
Mail list logo