----- Original Message -----
From: "A.J. Brown" <aj@xxxxxxxxxxxxx>
To: <php-general@xxxxxxxxxxxxx>
Sent: Tuesday, September 27, 2005 3:26 PM
Subject: Re: passing a variable with php_self
<a href="<?="$PHP_SELF?action=bigger"?>">
works well too
--
Sincerely,
A.J. Brown
"Jim Moseby" <JMoseby@xxxxxxxxxxxxxxxxx> wrote in message
news:FEE5CF83F4D3D511860100B0D02204BBD08942@xxxxxxxxxxxxxxxxx
-----Original Message-----
From: Ross [mailto:ross@xxxxxxxxxxxxx]
Sent: Tuesday, September 27, 2005 8:58 AM
To: php-general@xxxxxxxxxxxxx
Subject: passing a variable with php_self
can someone show me the right way to do the following...
<a href="<?=$PHP_SELF?action=bigger; ?>">
I want to pass a variable to a self submitting link.
Thanks,
<a href="<? echo $_SERVER['PHP_SELF'].'?action=bigger';?>">
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.11.7/112 - Release Date: 2005-09-26
Try to avoid the typing as:
<?=$variablename?>
Use
<?php echo $variablename;?> instead for compability reasons...
/G
http://www.varupiraten.se/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php