so, i have a website thats all coded with html, except for the fill-in form (order form) thats coded with PHP.
i have three issues with my PHP code. 1) i've uploaded my code onto my website but when i go there i get this message: Parse error: parse error, unexpected $ in /home/content/l/e/o/leopoldine/html/order.php on line 1008
but the issue is that there are only 1007 lines in my whole code!
2) when you hit submit, i receive an email telling me what the person filled in. But once you hit submit, the thanks-for-your-order page doesn't show up.
<window.location.href = "http://www.mywebsite.com/ordersent.php";>