elseif carry

From: Date: Sat, 15 May 2004 14:25:53 +0000
Subject: elseif carry
Groups: php.general 
Request: Send a blank email to php-general+get-186305@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"]">'; 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 (#186305) next »