/ Published in: PHP

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$query="select * from $table_name WHERE `post_status` = 'publish' and post_title='".$title."'"; $wpdb->get_results($query);
Comments
