Custom entry in WordPress?

Is there a way for me to make custom entries in the wp_events_rec table from custom WordPress pages? I’ve been able to make hard coded entries into the table but it would be great if I could embed some code in a page to make the entry.

Thanks in advance,


There is no any widget or sample how it can be done, but thechnically it possible. Each event requires only one record in wp_events_rec, no any extra processing is necessary.


I’m assuming I’d use the Exec-PHP plugin to allow PHP in the page. I’d then have a submit button which would perform the insert when pressed. I’m hoping I can grab the user id to tie the entry to the user, along with my custom form fields that would match up to the wp_events_rec fields.