The following works fine in another server, but doesn't work on my Godaddy.com server. I'm using this script to show a list in several pages, and the max_listing is from config.php. If I remove the LIMIT $start, $max_listing or replace with LIMIT 0, 100, it will be working. Can anybody tell me what's wrong with this?
try doing what the above poster said but reverse it! remove the quotes from $sort_name as you are not passing a string you are passing the name of a field.