--- Jeff McKeon <[EMAIL PROTECTED]> wrote: > $query="SELECT * from tickets where VesselID='$_GET['vesselid']' > order by Status DESC, Created ASC";
$query = "select * from tickets where vesselid = '{$_GET['vesselid']}' order by status desc, created asc"; Note the curly braces. Hope that helps. Chris ===== My Blog http://shiflett.org/ HTTP Developer's Handbook http://httphandbook.org/ RAMP Training Courses http://www.nyphp.org/ramp -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php