Jump to content

LOGIN AJAX


yakult
 Share

Recommended Posts

if(IsSet($_SESSION['pass'])) { echo "<div id=\"login\">"; echo "<a href=\"#\" onclick=\"abrirPag('login.php');\">Login</a>"; echo "<a href=\"#\" onclick=\"abrirPag('imoveis.php');\">Imóveis</a>"; echo "<a href=\"#\" onclick=\"abrirPag('exibe_corretores.php');\">Corretores</a>"; echo "<a href=\"#\" onclick=\"abrirPag('classificados.php');\">Classificados</a>"; echo "<a href=\"#\" onclick=\"abrirPag('serviços.php');\">Serviços</a>"; echo "</div>";else { echo "Não encontramos seu usuário."; } Not have password, login with username!!!

Link to comment
Share on other sites

I don't get the problem either. You have the code (if/else), you know what you want to output. What exactly are you asking for help with?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...