Hi,
I'm using mySQL with ASP. This count function is really frustating because it counts all the records in the database. It ignores the where statement NowLive=1 .
Any ideas?
sSQL2="SELECT COUNT(ArtistNameTable2.NowLive) AS results_count"
sSQL2=sSQL2 & " FROM ArtistNameTable2"
sSQL2=sSQL2 & " WHERE NowLive=1"
Many thanks.
Gavin
the boho from soho
I'm using mySQL with ASP. This count function is really frustating because it counts all the records in the database. It ignores the where statement NowLive=1 .
Any ideas?
sSQL2="SELECT COUNT(ArtistNameTable2.NowLive) AS results_count"
sSQL2=sSQL2 & " FROM ArtistNameTable2"
sSQL2=sSQL2 & " WHERE NowLive=1"
Many thanks.
Gavin
the boho from soho