The following query works when I enter it in to server mngt studio, and gives the correct results, but when I pipe it through mssql_query I get a whole bunch of errors. Can anyone see the problem with it or suggest an alternative query, thanks
Code: Select all
$query = "SELECT hlc_resort, hlc_ticket, hlc_employee FROM hotlist_comments WHERE (hlc_ticket LIKE 'T%')";