Part of my validation script spits error codes depending on the error. It includes displaying an html error page. The statements that print or echo out on the error page always push the page down and also seem to affect some odd things like font size etc. It by default always displays the echo statements at the top of the page in the center. Is there a way I can style this? I would like the error message to display at a certain areas within the html?
if((!$first_name) || (!$last_name) || (!$email_address) || (!$username)){
echo 'You did not submit the following required information! <br />';
if(!$first_name){
echo "First Name is a required field. Please enter it below.<br />";
}
if(!$last_name){
echo "Last Name is a required field. Please enter it below.<br />";
}
if(!$email_address){
echo "Email Address is a required field. Please enter it below.<br />";
}
include 'error_reg.htm';
exit();
}