Jump to content

mysqlautobackup

New Members
  • Posts

    1
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

mysqlautobackup's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. $dbh = mysql_connect('mysql_host:3306','username','password'); mysql_select_db('database'); $query = "SELECT * FROM users_table WHERE username='$username'"; $res = mysql_query($query, $dbh); $rows = mysql_num_rows($res); if ($rows > 0) { echo 'Error!'; } else { // continue to add the user } mysql_close($dbh);
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.