Hey there,

I'm new to php, but have been using a book to guide me through the code. I have created an order form and have run into this:

Parse error: parse error, unexpected T_STRING in /home/content/a/r/t/artdezign/html/new_order/pages/orderreceived.php on line 5

Here is the php code I have used in my file.

$to = "info@enableart.org";
$subject = "Order from EnableArt.org";
$body = $_POST . $_POST . $_POST . $_POST . $_POST . $_POST . $_POST . $_POST . $_POST . $_POST . $_POST . $_POST . $_POST . $_POST . $_POST . $_POST . $_POST . $_POST . $_POST . $_POST . $_POST . $_POST . $_POST . $_POST . $_POST

Line 5 refers to the mail code at the bottom. I can't figure out why I am getting that error. I'd also like to know if there is a cleaner way of requesting all those posts. Do I need to have $_Post before all those binders? (Identifiers?) Are there any other scripting things that would help?

The help is much appreciated

7 Years
Discussion Span
Last Post by Will Gresham
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.