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 ;
?
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
2 matches
Mail list logo