Quick PHP Question...
Trying to figure out what's wrong with my php code below. Basically, I am sending a query string to a page with the following code. What I want to do is evaluate the query string that contains the variable "abc". And if that variable is empty, then I want to redirect to "otherpage.html". If the variable is not empty, I want to stay on the same page.
<?php
$abc=$_GET['abc'];
if (!empty($abc)){
echo '<META HTTP-EQUIV="Refresh" Content="0; URL=otherpage.html">';
exit;
}
?> -
Brandon Tanner -
Thanks
Signature{{ DiscussionBoard.errors[1926473].message }} -