June - 14 - 2013
14
June
2013

User Registration Form <?php if(isset($_POST[‘submit’])){ # connect to the database here # search the database to see if the user name has been taken or not $query = sprintf(“SELECT * FROM users WHERE user_name=’%s’ LIMIT 1”,mysql_real_escape_string($_POST[‘user_name’])); $sql = mysql_query($query); $row = mysql_fetch_array($sql); #empty field check and […]

  • admin
  • No Comments
  • 584 View