Jump to content

pretty basic question


Toy

Recommended Posts

<?php

if (!isset($_GET['register'])) {

echo "register stuff here"; 

}

elseif (!isset($_GET['login'])) {

echo "login stuff here";

}

elseif (!isset($_GET['forgotpassword'])) {

echo "password recovery stuff here"; 

}

else {

echo "default page stuff here"; 

}

?>

 

you get what i'm going for, but it kinda messes up this way with different contents on different places? help :P

Link to comment
https://forums.phpfreaks.com/topic/214741-pretty-basic-question/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.