View Full Version : SQL Query Problem

08-18-2007, 02:10 PM
Well I am trying to get the script to take only links that have a permission level of below or equal to their own. I tried doing a WHERE level <= '$level' , but that didn't work. How can I do this? Thanks

08-18-2007, 02:41 PM
If it's a number, you need to omit the quotes.

08-20-2007, 01:29 AM
I found the problem, I just had "WHERE" in the query twice. Thanks for the help though. :)