Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - More form problems for a novice
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

More form problems for a novice

 Post Reply Post Reply
Author
eden24 View Drop Down
Newbie
Newbie


Joined: 13 November 2003
Location: United Kingdom
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote eden24 Quote  Post ReplyReply Direct Link To This Post Topic: More form problems for a novice
    Posted: 16 November 2003 at 8:04am

Hi.

I am trying to declare the variables for all of the headings within my form, however I am getting the following error:

Error Type:
Microsoft VBScript compilation (0x800A0401)
Expected end of statement
/example/Bookings_process.asp, line 15, column 124
Dim Firstname, Secondname, Organisation, Position, Address_1, Address_2, Address_3, Postcode, Telephone, Fax, Mobile, Web, E-Mail, Request, Service, Therapies, Events, Training, Comments, theDate,sql

I have successfully tried the tutorial using just 3 fields but obviously I need to have all of the fields available form my form to work, can you advise what I should have addeed>

Regards,

 

Back to Top
Tegwin View Drop Down
Senior Member
Senior Member


Joined: 03 September 2003
Location: United Kingdom
Status: Offline
Points: 430
Post Options Post Options   Thanks (0) Thanks(0)   Quote Tegwin Quote  Post ReplyReply Direct Link To This Post Posted: 16 November 2003 at 3:55pm

Try on here they have some of the best stuff

 

http://www.w3schools.com/asp/asp_examples.asp

If you dont want my peaches, dont shake my tree
Back to Top
MorningZ View Drop Down
Senior Member
Senior Member
Avatar

Joined: 06 May 2002
Location: United States
Status: Offline
Points: 1793
Post Options Post Options   Thanks (0) Thanks(0)   Quote MorningZ Quote  Post ReplyReply Direct Link To This Post Posted: 18 November 2003 at 5:51am

you can't use "E-Mail" as a variable name....  keep it to letters, numbers, and the underscore character

that's why that error gets thrown

Contribute to the working anarchy we fondly call the Internet
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.