$wpdb returning null…
-
I’m creating a calander plugin, and on the first line of one of my PHP pages, I declare the $wpdb global so I can use a select statment to grab the data I need from the database… for some reason it says that the $wpdb global is null…
here’s the code…
<?php global $wpdb; var_dump($wpdb); ?>this declared on the very first line of the file… any suggestions?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘$wpdb returning null…’ is closed to new replies.