PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
if(strlen($fm_firstname)>0){
$fm_firstname=stripslashes($fm_firstname);
}else{//If no name was entered.
$fm_firstname=NULL;
include('./index.php');
echo '<label for="fm_firstname" class="error">First name:</label>';
}
The label element is echoed to the recalled index page, but, appears at the beginning of the html, I was hoping the echoed element would overwrite the current. What is my misunderstanding, and how is it corrected?
http://ckimedia.com/php_version/index.php
This is a clean version. The site is a one page, the user will be scrolled to the individual sections, via a dom script, hope this helps.