Thread: Submit help
View Single Post
Old May 20th, 2005, 4:21 PM   #3
bulio
Hobbyist Programmer
 
bulio's Avatar
 
Join Date: Jul 2004
Location: Location
Posts: 140
Rep Power: 5 bulio is on a distinguished road
OK everyone, I got it working! but everytime I try to submit, it says i'm missing a required field.

Code in submit.php:

<?php
if ( (!empty($location)) && (!empty($Description)) && (!empty($Make)) && (!empty($Model)) && (!empty($Year)) && (!empty($Color)) && (!empty($price))&& (!empty($InventoryType)) && (!empty($Serial)) && (!empty($name)) )
{
   echo "The product has been submitted ok.";
}
else
{
   echo "You have left a text box blank, please go back and fill it in.";
}
?>

Also, Here's everything in the form:

http://pastebin.com/287113
bulio is offline   Reply With Quote