A
Anonymous
Guest
hello.
First i´m sory for my english i´m portuguese and for ask for a repeat (i think) subject.
I have a website and i need to make a login system for users can view information about they
The login is in http://www.jaf-studio.net/beta/ , and i have a mysql database whit a username and password of users.
what´s the best form to make this login to make acess in a restricted area!?
i wrote this code but have a lot of errors
incomplete!
someone help !??!?
sory for the english.
tks a lot. :help:
First i´m sory for my english i´m portuguese and for ask for a repeat (i think) subject.
I have a website and i need to make a login system for users can view information about they
The login is in http://www.jaf-studio.net/beta/ , and i have a mysql database whit a username and password of users.
what´s the best form to make this login to make acess in a restricted area!?
i wrote this code but have a lot of errors
Code:
<?php #login.php
$ligacao=mysql_connect("localhost","jaf_Admin","") or die ("Problemas na ligação ao MYSQL");
mysql_select_db ("jaf_JAFStudio",$ligacao) or die ("Ocorreu um erro a ligar a selecioanr a base de dados");
$sql='Select * from clientes where $username==username && $password==password';
$total = mysql_num_rows($sql);
if ($total==1)
?>
incomplete!
someone help !??!?
sory for the english.
tks a lot. :help: