OK, this make me mat :( I'm sure from the first and therefore I have put the suggestion from "redarrow" (thanks) for echo out the username in a single script named test.php. This is the script: [quote] <?php $var_username = " "; $skipflag = FALSE; $link = mysql_connect("localhost", "powerdo_web", "*******") or die("Error: " . mysql_error()); mysql_select_db("powerdo_accounts", $link); $query = "SELECT `username` FROM `host_list` WHERE `username`='" . mysql_real_escape_string($_POST['$var_username']) . "' LIMIT 1"; $result=mysql_query($query)or die('Query Failed. '.mysql_error()."\n"); while($record=mysql_fetch_assoc($result)){ echo $record['username']; { print "<font color=\"#660000\"><strong>* Required field -- \"Your Username\" is not valid. Please fix this and re-submit.</strong></font> \n"; $skipflag = true; } } ?> [/quote] I receive only a blank page, no errors, no username, nothing.