Wordpress Plugin Calling Database Results via AJAX?

You are calling update. Php file using ajax so wordpress is unable to load other its files so it is not finding $wpdb objects definition so you need to do is require_once the wp-config. Php and wp-includes/wp-db.

Php files.

You are calling update. Php file using ajax so wordpress is unable to load other its files so it is not finding $wpdb objects definition so you need to do is require_once the wp-config. Php and wp-includes/wp-db.

Php files and create an object as $wpdb = new wpdb(DB_USER, DB_PASSWORD, DB_NAME, DB_HOST); before the function update_page().

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions