simple page for register
Infos:
- Login and Password fields
- Existing login verification in the database.
https://mega.nz/#!wlcBySoK!5983vCGh1...5_6wzMMGQc6QCE
v2-register.rar
simple page for register
Infos:
- Login and Password fields
- Existing login verification in the database.
https://mega.nz/#!wlcBySoK!5983vCGh1...5_6wzMMGQc6QCE
v2-register.rar
thnaks man
Thx alot!
I just add a value to auto match about idnum in tb_user
heres the fix part
if ($error!=1){
$id_last = pg_query ("select id from accounts order by id desc");
$id_result = pg_fetch_array ($id_last);
$id_last = $id_result["id"] +1 ;
$id_get = $id_result["id"] +1 ;
//echo "$id_last";
$sql = pg_query("insert into accounts (id,username,password) values ('$id_last','$login','$login')");
$connn = pg_connect("host=youriphere dbname=ffmember user=postgres password=yourdbpassword port=5432");
$id_result = pg_fetch_array ($id_last);
$sql2 = pg_query ("insert into tb_user (mid,password,pwd,idnum) values ('$login','$login','$passcript',$id_get)");
I'm sorry to ask you this, but would it help me to pin it to my database? I do not understand very well but, it is what I was looking for to invite my friends to play on my server. thanks for your wonderful work