Re: [PHP] Showing up variables in URL !

2001-09-18 Thread Richard Baskett
The question is... Why would you want to do this? Rick Hello ! We all know how to pass value to variable using an URL. So, how can I do the inverse ? I mean , showing the value of a variable in the URL? for instance my page index.php is : ? $greetings=Hello ; echo $greetings ; ?

Re: [PHP] Showing up variables in URL !

2001-09-18 Thread Alex Shi
Try this: ? if( $greetings ){ echo $greetings; } else { header( Location: index.php?greetings=Hello ); } ? Alex - Original Message - From: Arcadius A. [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 19, 2001 6:14 AM Subject: [PHP] Showing