View Single Post
Old 12-16-2008, 03:16 PM   #4 (permalink)
code_junkie
The Contributor
 
Join Date: Sep 2008
Posts: 39
Thanks: 9
code_junkie is on a distinguished road
Default

Ok I got the fields to be required by changing
Code:
if(!$name && !$email && !$message) {
To
Code:
if(empty($name) || empty($email) || empty($message)) {
Now, how would I set ti so the user does not have to enter the data in again and just fill in the empty fields?
__________________
Trying to learn all I can about PHP. Teach me what you know...
code_junkie is offline  
Reply With Quote