. Holmes [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 29, 2002 8:30 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] _SERVER variable insd prnt sttmnt
// print LIA HREF='$_SERVER['PHP_SELF']?letter=$chars[$cnt]' .
This is the problem with not breaking out of a string to display
a variable
On Monday 29 April 2002 23:05, Kirk Babb wrote:
Hi All,
Thanks alot for all your help with the _SERVER['PHP_SELF'] earlier, I have
another question related to that:
What is the correct syntax for the above if I want to use it in a print
statement like so (I included the whole piece of code
//print LIA HREF='$_SERVER['PHP_SELF']?letter=$chars[$cnt]' .
This is the problem with not breaking out of a string to display a variable.
Ideally, you would do it this way:
print LIA HREF=' . $_SERVER['PHP_SELF'] . ?letter= . $chars[$cnt] .
';
But some people just have a problem with doing
3 matches
Mail list logo