I'm using ms sql server with php and I needing to know what I'm doing wrong, because I'm not getting any data from the database. I know that I'm connected and I know that the columns are the correct name as well as the form name. When I dump the results it says resource(6) of type (mssql result).
Here's my query.
$query = "SELECT *
FROM [ERCOT_Data].[dbo].[TDSP_ESIID]
WHERE ADDRESS LIKE '%$house_num%'
AND ADDRESS LIKE '%$street%'
AND ZIPCODE LIKE '%$zip%'
AND CITY LIKE '%$city%'";
I've also tried it like this
$query = "SELECT *
FROM [ERCOT_Data].[dbo].[TDSP_ESIID]
WHERE ADDRESS LIKE '$house_num%'
AND ADDRESS LIKE '$street%'
AND ZIPCODE LIKE '$zip%'
AND CITY LIKE '$city%' ";