check if table exists sql php
if ($result = $mysqli->query("SHOW TABLES LIKE '".$table."'")) {
if($result->num_rows == 1) {
echo "Table exists";
}
}
else {
echo "Table does not exist";
}
Also in PHP:
- ext-dom install php 7.4
- exit try php
- find if string contains characters php
- display al errros php
- displaying errors in laravel
- diplay php error
- artisan config cache clear
- date format in php function
- calculate string length php
- How to show php text
- enable reporting php
- artisan seed
- display only errors php
- difference betwen include and indlude once
- convert any phone number in us number format php
- date("Y")
- AWS HTTP error: SSL operation failed with code 1.
- change header php
- date with current time in php
- To print current time which function will use in pphp
- clear all cache files in laravel
- What parameter should you enable if you wish for your browser to show all errors?
- array_values() in php
- apt install php 7.4