Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Help For Dummy
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Help For Dummy

 Post Reply Post Reply
Author
Silky View Drop Down
Newbie
Newbie


Joined: 29 July 2007
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote Silky Quote  Post ReplyReply Direct Link To This Post Topic: Help For Dummy
    Posted: 29 July 2007 at 12:36am
I need some help on a few things... I dont know if this sorta thing is the norm around here but the website that published this script doesnt seem to want to help so here goes..

It's a news publishing script and it is, in theory, the best free one around.. Looks good and does everything i want it to without being too difficult to read for the likes of me, but it's full of bugs..

When i try to add a new user through the control panel it gives me this error..

Microsoft JET Database Engine error '80040e14'

Syntax error in INSERT INTO statement.

/guestbook/users.asp, line 12


which is;

LINE 12: connect.execute ("insert into login (user, password, name, email) values (" & struserid & "," & strpassword & "," & strname & "," & stremail & ")")


and when i try to edit the one existing user it gives me this..

Microsoft JET Database Engine error '80040e14'

Syntax error in UPDATE statement.

/guestbook/edit_users.asp, line 13


LINE 13: connect.execute ("update login set user='"& struserid &"',password='"& strpassword &"',name='"& strname &"',email='"& stremail &"' where id = "&intuser&"")



Is there any really obvious error in the code there? Sorry if i come off like a complete goose, as far as giving you enough info on solving the problem.. i really am a newbie...



any help would be MUCH appreciated..






Edited by Silky - 29 July 2007 at 12:37am
Back to Top
Scotty32 View Drop Down
Moderator Group
Moderator Group


Joined: 30 November 2002
Location: Manchester, UK
Status: Offline
Points: 1682
Post Options Post Options   Thanks (0) Thanks(0)   Quote Scotty32 Quote  Post ReplyReply Direct Link To This Post Posted: 29 July 2007 at 11:11am
i think the first one is the fact you dont have single quotes ' on the text fields.

the second am not sure about

the following link should help you learn the syntax

W3 Schools

click on insert to learn about that and click update to learn about that - and so on
S2H.co.uk - WebWiz Mods and Skins

For support on my mods + skins, please use my forum.
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.