About sql table rows

Hello,

What is wrong here?

Can you help?
[php]
$result = $mysqlibag->query("
SELECT Count(*) AS counter FROM
INFORMATION_SCHEMA.COLUMNS
WHERE TABLE_SCHEMA = ‘$db_name’
AND TABLE_NAME = ‘$tablename’")->fetch_array();
$total_rows_of_table = $result[‘counter’];
[/php]

Thank you

What errors are you getting?

Number of missing rows

That is not a php error message. What is the exact message you get.

The problem stemmed from me, because it works in another loop

Thank you very much for your interest

Best Regards

Sponsor our Newsletter | Privacy Policy | Terms of Service