Advanced PHP tutorials experts
function perform_database_action(){ global $wpdb; $data= array('col1'=>$value1,'col2'=>$value2,'col3'=>$value3); $format = array('%s','%s','%s'); $wpdb->insert('table_name', $data, $format); }
No comments:
Post a Comment