Forum Moderators: coopster
if($x == 1){
include 'addbanner.php';
} elseif($x == 2) {
include 'register.php';
} elseif($x == 3) {
include 'login.php';
}
which would fetch if depending on the value of x (ie, index.php?x=1)?
<a href=index.php?x=1>link here</a>
Just like a normal link.
For example, one form has login.php?action=blahblahblah. How do I incorporate the index.php?x=1? Or is there another way to do this where the form results will show up in my template?