Does anyone see anything wrong with what I am doing here? I haven’t worked with the database expressions in WP yet. All of my code compiles except when I start to try to add items to tables I have created in the WP database. Any info would be greatly appreciated.
$wpdb->insert('venue', array('event_id' => $event_id, 'event_date' => $event_date, 'venue_name' => $venue_name, 'venue_city' => $venue_city, 'ticket_url' => $ticket_url, 'event_url' => $event_url), array(%d, %s, %s, %s, %s, %s) );
- The topic ‘WordPress wpdb INSERT’ is closed to new replies.