No. On so many levels...
SelectCount(*)
Needs at least one space - to separate
SELECT
from
Count
"SelectCount(*) FROM tblURL WHERE IP = ip_header;source_ip And Status ='Active'"
Is a string. and as such will be passed though to MySql
exactly as it is. MySql will then throw an error at you, because it does not recognize
source_ip
as a command (the ';' will terminate the select statement).
Concatenating text strings to make a Sql Satement is a recipe for disaster at the best of times: use parametrized queries instead.