This question already has an answer here:
Hello i am trying to get data from mysql but taking this error
PHP Fatal error: Call to undefined function mysqli_fetch_all()
my php.index:
$sql = "SELECT SUM(HomelessID) as count FROM evsiz";
$viewer = mysqli_query($mysqli,$sql);
$viewer = mysqli_fetch_assoc($viewer,MYSQLI_ASSOC);
$viewer = json_encode(array_column($viewer, 'count'),JSON_NUMERIC_CHECK);
when i try mysqli_fetch_assoc
instead of mysqli_fetch_all
it gives this
mysqli_fetch_assoc() expects exactly 1 parameter, 2 given in...
What should i do here?
Firebase Cloud Functions: PubSub, "res.on is not a function"
TypeError: Cannot read properties of undefined (reading 'createMessageComponentCollector')
I am running an Apache 2 webserverI would like to have a button which, when pressed, activates a shell script
I am querying a table called request that looks like this
my php code contains an array of urlsIs there a way to activate a Vb