Hamlets Posted August 19, 2006 Report Share Posted August 19, 2006 <?php $query=mysql_query("SELECT * FROM gothic WHERE username='$login'); if(mysql_num_rows($query) >= 1 ) { print "Tāds lietotājs jau ir!!"; exit(); } ?> Kļūda : Itkā viss ir pareizi, manuprāt :) Link to comment Share on other sites More sharing options...
v3rb0 Posted August 19, 2006 Report Share Posted August 19, 2006 pēdiņas varbūt pareizi saliec, un tad brēc ka php gļuko un tevi apbižo. Link to comment Share on other sites More sharing options...
Paulinjsh Posted August 21, 2006 Report Share Posted August 21, 2006 (edited) $query=mysql_query("SELECT * FROM gothic WHERE username='$login'); trūkst pēdiņa: $query=mysql_query("SELECT * FROM gothic WHERE username='$login'"); Edited August 21, 2006 by Paulinjsh Link to comment Share on other sites More sharing options...
Recommended Posts