Reposting elseif carry

From: Date: Sat, 15 May 2004 21:48:04 +0000
Subject: Reposting elseif carry
Groups: php.general 
Request: Send a blank email to php-general+get-186334@lists.php.net to get a copy of this message
I have tried both of these statements and neither one works Trying to get the Date_and_Time to be carried in the URL. Any Help please. print '<META HTTP-EQUIV="refresh" content="0; URL=./Conference_Calls.php?Date_and_Time=$_POST["Date_and_Time"]">'; or echo '<META HTTP-EQUIV="refresh" content="0; URL=./Conference_Calls.php?Date_and_Time=$_POST["Date_and_Time"]">'; what I currently have is echo "<META HTTP-EQUIV=\"refresh\" content=\"0; URL=./Conference_Calls.php?Date_and_Time=".$_POST["$Date_and_Time"].">"; Tried several things from the string and either they return a parsing error or they return ".$_POST kind of clueless now....help please The code: <? $event = $_GET['Event_Type']; $Date_and_Time = $_GET['Date_and_Time']; //echo "$event"; //echo "$time"; if ($event == "Trouble_Tickets") { echo '<META HTTP-EQUIV="refresh" content="0; URL=./Trouble_Tickets.php">'; } elseif ($event == "Conference_Calls") { print '<META HTTP-EQUIV="refresh" content="0; URL=./Conference_Calls.php?Date_and_Time=$_POST["Date_and_Time"]">'; } elseif ($event == "Outage_Reports") { echo '<META HTTP-EQUIV="refresh" content="0; URL=./Outage_Reports.php">'; } else { echo '<META HTTP-EQUIV="refresh" content="0; URL=./log.php">'; } ?>

« previous php.general (#186334) next »