I can execute the below query just fine in mysql console, but when try doing it in a php script, I got errors. Here' my query:
$tfa2_db=mysql_query("select * from `avotf`.`callerid_vault` ORDER BY `dateused` LIMIT 100",$stor);
while ($tfa2 = mysql_fetch_row($tfa2_db)) {
When I run the php file, it's giving me the following:
mysql_fetch_row() expects parameter 1 to be resource, boolean given
it's telling me i have a boolean given for my query. I am unsure what is wrong.
Any kind of help is greatly appreciated.