Posts: 286
Location: Tunbridge Wells
|
I have set up an order form, it seems to work ok, even with my less than basic knowledge of php. The trouble comes in the last field. All the rest are simple one line entries, the last one is a text area. You can enter data into the area on the page, but no info gets sent through via e-mail.
The order page can be seen below.
http://www.simply-graphics.com/order.html
I think (guess?) it has something to do with the line in the send_mail.php file. eg:
$body .= 'Tagline: ' . stripData($_POST['Tagline']) . "\n";
$body .= 'Graphictext: ' . stripData($_POST['Graphictext']) . "\n";
$body .= 'Mascot: ' . stripData($_POST['Mascot']) . "\n";
$body .= 'Business: ' . stripData($_POST['Business']) . "\n";
$body .= 'Colours: ' . stripData($_POST['Colours']) . "\n";
$body .= 'Logotype: ' . stripData($_POST['Logotype']) . "\n";
$body .= 'Moreinfo: ' . stripData($_POST['Moreinfo']) . "\n";
The last line has "stripData", should that be different for a text area?
Cheers
|