The problem is it will just go to the else statement,
- Code: Select all
<?php
$catt = $_GET[cat]
$ider = $_GET[id]
$pager = $_GET[page]
if ( catt = 0 && ider = 1 && pager = 1 ) {
echo "test";
} elseif (catt = 0 && ider = 1 && pager = 2) {
echo "test2";
} else {
$message = "Sorry - The server cannot find the file or script you asked for.<br>
Please check the URL to ensure that the path is correct.";
?>
<span class="text3"> <Center> <b><?php echo $message; ?> </span></b></center>
<?php
}
?>
What I am doing to retrieve the data from the url is
index.php?cat=0&id=1&page=1
Thanks.





