frostyk Posted July 12, 2023 Posted July 12, 2023 Salut, am incercat sa fac un sistem de login/register pe mysql r41-2. Nu imi da nicio eroare, dar cand intru sa ma loghez nu se salveaza contul in baza de date Am creeat baza de date incorect sau? frostyk.pwn
Sancky Posted July 12, 2023 Posted July 12, 2023 mysql_format(handle, query, sizeof(query), "INSERT INTO `accounts` ('name', 'password') VALUES ('%e', '%e')", getname(playerid), inputtext); aici ai pus apostrof la numele coloanelor, ori nu pui nimic, ori pui intre `` mysql_format(handle, query, sizeof(query), "INSERT INTO `accounts` (`name`, `password`) VALUES ('%e', '%e')", getname(playerid), inputtext);
frostyk Posted July 12, 2023 Author Posted July 12, 2023 4 minutes ago, Sancky said: mysql_format(handle, query, sizeof(query), "INSERT INTO `accounts` ('name', 'password') VALUES ('%e', '%e')", getname(playerid), inputtext); aici ai pus apostrof la numele coloanelor, ori nu pui nimic, ori pui intre `` mysql_format(handle, query, sizeof(query), "INSERT INTO `accounts` (`name`, `password`) VALUES ('%e', '%e')", getname(playerid), inputtext); tot asa e
Sancky Posted July 12, 2023 Posted July 12, 2023 4 minutes ago, frostyk said: tot asa e da, nu trimiti query-ul catre mysql cum trebuie, acolo ai 'mysql_pquery(handle, "", "");', tu practic trimiti un query gol. pune mysql_pquery(handle, query);
noddy28 Posted July 12, 2023 Posted July 12, 2023 (edited) Try with this compiler https://www.mediafire.com/file/nz6y1ixhjwjo0bd/Pawno-3.10.10-Custom.zip/file Edited July 12, 2023 by noddy28
Sancky Posted July 12, 2023 Posted July 12, 2023 1 minute ago, noddy28 said: Try with this compiler https://www.mediafire.com/file/nz6y1ixhjwjo0bd/Pawno-3.10.10-Custom.zip/file don't post keyloggers here, if someone need the last version of the community compiler, is here: https://github.com/pawn-lang/compiler/releases
noddy28 Posted July 12, 2023 Posted July 12, 2023 1 minute ago, Sancky said: don't post keyloggers here, if someone need the last version of the community compiler, is here: https://github.com/pawn-lang/compiler/releases It is not keylogger, it is fixed compiler...My compiler was crashing when I was using from github it wasnt working.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now