Posted By

kidmizere on 03/26/11


Tagged


Versions (?)

See if record exists - php / mysql


 / Published in: PHP
 

  1. if(mysql_num_rows(mysql_query("SELECT userid FROM plus_signup WHERE userid = '$userid'"))){
  2. // Code inside if block if userid is already there
  3. }

Report this snippet  

You need to login to post a comment.