check-production-questions.php

get_var($wpdb->prepare(”
SELECT COUNT(*) FROM wp_ennu_assessment_questions
WHERE assessment_type = %s
“, $assessment_type));

$status = $count > 0 ? “✅” : “❌”;
echo “$status $assessment_type: $count questions\n”;
}

echo “\n???? Database Info:\n”;
echo “Database: ” . DB_NAME . “\n”;
echo “Host: ” . DB_HOST . “\n”;
echo “Table exists: ” . ($wpdb->get_var(“SHOW TABLES LIKE ‘wp_ennu_assessment_questions'”) ? “✅” : “❌”) . “\n”;
?>

Related Posts
Leave a Reply

Your email address will not be published.Required fields are marked *

Image link
Image link
General Popup with Launcher

Creating popups has never been easier thanks to pixfort's next-generation popup builder.

Do you have presale questions?

Contact our team if you have any question

Our usual reply time: 1 Business day

Follow us on

Image link
Image link
General Popup with Launcher

Creating popups has never been easier thanks to pixfort's next-generation popup builder.

Do you have presale questions?

Contact our team if you have any question

Our usual reply time: 1 Business day

Follow us on

Image link
Hey there

Search for a specific article on our website

Get started

Check these useful guides to get started

Still need Help?

Send us a support message

Our usual reply time: 1 Business day
Contact us

Our team will reply as soon as possible.

[contact-form-7 id=”aa06684″ title=”Simple Contact Form”]

Our usual reply time: 1 Business day