Previous Thread
Next Thread
Print Thread
Rate Thread
#273357 05/12/2004 1:44 PM
Joined: Mar 2003
Posts: 159
Member
Member
Joined: Mar 2003
Posts: 159
SCRIPT: /ubbthreads/admin/showusers.php

Unable to do_query: SELECT U_Username,U_Number,U_Registered,U_Totalposts,U_Laston,U_Email,U_RegEmail,U_Status,U_Title,U_LoginName FROM w3t_Users WHERE U_Number <> 1 AND U_Number <> 2 AND U_Approved = 'yes' U_Status = 'User' ORDER BY U_Username - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'U_Status = 'User' ORDER BY U_Username' at line 6

Sponsored Links
vajraman #273358 05/12/2004 1:46 PM
Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
[]Approved = 'yes' U_Status = 'User' [/] missing the word AND

Approved = 'yes' AND U_Status = 'User'

234234 #273359 05/12/2004 3:59 PM
Joined: Mar 2003
Posts: 159
Member
Member
Joined: Mar 2003
Posts: 159
[]scroungr said:
[]Approved = 'yes' U_Status = 'User' [/] missing the word AND

Approved = 'yes' AND U_Status = 'User' [/]
Next question.

What would have cause this error?

vajraman #273360 05/12/2004 4:59 PM
Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
did you do a mod to showuser.php? cause as far as I can see with mine it really can't be caused. is it a stock or a modded showuer.php?


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)