Jump to content
php.lv forumi

Recommended Posts

Posted (edited)

kapec tev shi fija addNewUser() return mysql_query($q,$conn), man liekas ka f-ja mysql_query atgriezs resource id , labak parbaudi ja izdevas palast query, tad lai return 1;

uztaisi var_dump $_SESSION['regresult'] pirm 27 rindas

 

ps. uzraksti pashu kodu strukturetaku un lasamaku ?> text <? , labak tad ar echo vadi tos pazinojumus

Edited by cucumber
Posted (edited)

cucumber, mysql_query ar insert neatgriež resourci:

 

For other type of SQL statements, UPDATE, DELETE, DROP, etc, mysql_query() returns TRUE on success or FALSE on error.
Edited by andrisp
Posted (edited)

respektivi, tad gluks ieksh query.

enivei kods liks.

 

cik bija noteikumos teikts ka tadus jautajumus(postus) vispar taisit nevar :)

Edited by cucumber
×
×
  • Create New...