Hi I have been struggling with this query for a while now
I need to get the number of rows inserted into my database table, but I keep getting this error I can't seem to get rid of.
$result3=mysql_query("INSERT INTO dest_table.create_info SELECT * from
Profusion.source_cdr");
$num_rows = array($result3);
$progress=mysql_num_rows($num_rows);
echo $progress;
The error I get is
mysql_num_rows() expects parameter 1 to be resource, array given
It will be highly appreciated if I get this resolved