RE: [PHP] _SERVER variable insd prnt sttmnt

2002-04-30 Thread Andrew Chase
. 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

Re: [PHP] _SERVER variable insd prnt sttmnt

2002-04-29 Thread Jason Wong
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

Re: [PHP] _SERVER variable insd prnt sttmnt

2002-04-29 Thread 1LT John W. Holmes
//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