Posted By

osirisinternet on 08/05/10


Tagged


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

pixelsoul


Wordpress database query using wordpress database class


 / Published in: PHP
 

  1. $query="select * from $table_name WHERE `post_status` = 'publish' and post_title='".$title."'";
  2. $wpdb->get_results($query);

Report this snippet  

You need to login to post a comment.