hi,
whensome registers with my site if their chosen username is the same as another in the database an error is displayed.
$query = "INSERT INTO members (username, password, first, last, email, add1, add2, add3, add4, zip, country, phone)values('$myusername', '$mypassword', '$first', '$last', '$email', '$add1', '$add2', '$add3', '$add4', '$zip', '$country', '$phone')";
mysql_query( $query, $link) or die("The Username/E-Mail Address Entered Is Taken<br>Please go back and choose another" );
how could i make a redirect or a popup to say username is taken?
thanks