No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
4 Posted Topics
Re: I'd probably re-write it as follows, [CODE] // This merges the firstname and lastname into one variable $field_name = $_POST['cf_firstname']." ".$_POST['cf_lastname']; // Create e-mail message body $body_message = 'From: '.$field_name.'\n'; $body_message .= 'E-mail: '.$_POST['cf_emailaddress'].'\n'; $body_message .= 'Message: \n'.$_POST['cf_emailaddress'].'\n'; $body_message .= $_POST['cf_telephone'].'\n'; $body_message .= $_POST['cf_country'].'\n'; $body_message .= $_POST['cf_business'].'\n'; $body_message .= $_POST['cf_comments']; … | |
Re: What's your table structure look like and could you give us a sample record as well? | |
Re: What is the SQL query that's generated by your code? | |
Re: I'm not sure if you copied the code incorrectly but you've got an extra , between CustomerID and DeliveryDate. [CODE]Insert into order(OrderDateTime,CustomerID, ,DeliveryDate, ActualDelivery) values('$ODateTime','$Cid','$ODeliveryDate','$ActualDelivery')[/CODE] Alternatively it could be that your insert statement isn't populating it's values correctly. I'd recommend either echoing the DB query to the screen or e-mailing … |
The End.