close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Parse error: syntax error,

Thread began 9/05/2010 4:57 am by sunsabbath76401977 | Last modified 9/13/2010 8:34 am by Jason Byrnes | 2210 views | 9 replies |

sunsabbath76401977Beta Tester

Parse error: syntax error,

Hi
I get this syntax error and I do not know how to correct it...

Parse error: syntax error, unexpected T_IS_NOT_EQUAL in C:\xampp\htdocs\elliots-taxi\contactus.php on line 209

Sign in to reply to this post

sunsabbath76401977Beta Tester

Please see file attached...

This post has been deleted.

Jason ByrnesWebAssist

The trigger was not written correctly for some reason.

change line 209:

php:
if ((( != "")))     {




to:

php:
if ((isset($_POST["SimpleContact_submit_x"])))     {
Sign in to reply to this post

sunsabbath76401977Beta Tester

Hi Jason
Thanks for the reply.
Every little helps.
Sabby76

Sign in to reply to this post

Jason ByrnesWebAssist

You're welcome.

Sign in to reply to this post

sunsabbath76401977Beta Tester

Hi Jason
The same kind of error runs again with latest ammenedments.
Parse error: syntax error, unexpected T_IS_NOT_EQUAL in /homepages/42/d330208130/htdocs/contactus.php on line 489

I've change the line to:
Parse error: syntax error, unexpected T_IS_NOT_EQUAL in /homepages/42/d330208130/htdocs/contactus.php on line 489
Same error runs

Sign in to reply to this post

Jason ByrnesWebAssist

send the most recent copy of your page.

the previous copy has:
<script src="CSSFormBuilder/WA_ServerValidation.js" type="text/javascript"></script>

at line 489, this wont cause a php error.

Sign in to reply to this post

sunsabbath76401977Beta Tester

Back from work...

This post has been deleted.

Jason ByrnesWebAssist

the code at line 489 is:
if ((isset($_POST["SimpleContact_submit_x"]))) {



there is no synatx error in this code.


one issue i see is that the universal email behavior is on the page 6 times, but the first one is set to redirect to the index page after sending.

the other 5 UE iterations on this page are unnecessary and should be removed.

Sign in to reply to this post

sunsabbath76401977Beta Tester

This post has been deleted.

loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...