TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 10-08-2008, 01:55 AM   #1 (permalink)
The Wanderer
 
sacred_tinker's Avatar
 
Join Date: May 2008
Location: Singapore
Posts: 11
Thanks: 0
sacred_tinker is on a distinguished road
Default PHP fill in form help

Hey!

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.

3) i have PHP Editor 2.22 and when i open my code in it, this "window" thingy is highlighted in red and underlined:
<script language="JavaScript" type="text/JavaScript">
<window.location.href = "http://www.mywebsite.com/ordersent.php";>
</script>


could someone please help me?
sacred_tinker is offline  
Reply With Quote
 



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 09:26 AM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design