close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues


Unknown column 'Practice' in 'field list'

Thread began 3/19/2011 3:57 pm by frank423839 | Last modified 9/28/2011 8:47 pm by Jim E D | 1356 views | 3 replies |


Unknown column 'Practice' in 'field list'


I created a search and results form using the wizard. When I tru the search form I get the following:

Unknown column 'Practice' in 'field list'

Not sure what I'm doing wrong. I've attached the files. Any help would be greatly appreciated.



Attached Files
Sign in to reply to this post

Jason ByrnesWebAssist

Hmmm, I dont see the cause of the problem looking at the code for the page.

to troubleshoot, find the following line:

$WADAPhysicians = mysql_query($query_limit_WADAPhysicians, $optimus) or die(mysql_error());

and change it to:

$WADAPhysicians = mysql_query($query_limit_WADAPhysicians, $optimus) or die(mysql_error()."<br />".$query_limit_WADAPhysicians);

this will write the sql to the screen along with the error to help us see what is going wrong, please post back the results or a link where we can see the issue.

Sign in to reply to this post

Jim E D

Followed this thread and got the SQL line...

unknown column 'ID' in 'field list'
SELECT ID, GroupID, Email, Password, FirstName, LastName, Phone, Fax, Country, Address, Address2, City, State, Zip, IP, EmailVerified, VerificationCode, RegistrationDate FROM users ORDER BY ID ASC LIMIT 0, 10

All are fields are in the database and the SQL line was created by DA... need direction....

Sign in to reply to this post

Jim E D

Database fields...

It seems the problems was on the MySQL side. At the suggestion of Jason, I renamed my fields names to a 3 digit table reference with the field name (usrFirst). After this adaption I've seen no issues.

Tip for the future: use the naming convention above, as it will insure MySQL and PHP calls do not conflict with similar field names.

Thanks again WA for being there.

Sign in to reply to this post

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





Ease of use


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...