Search
|
|
| Post |
|
Fish - Guest
9:08 pm - April 21, 2008
|
| |
|
Hey there. I just noticed that the form_id field is blank on my form. I just installed cfforms from the latest release for WP2.5
Would like to do a query of the database and with multiple forms, this makes it tough to know which form was submitted.
My site is behind a HTTP AUTH until launched. I emailed you the info last week.
Any help is appreciated.
Dave
|
|
|
Oliver
- Admin
9:41 pm - April 21, 2008
posts 3909 |
| |
|
Yes, for the first form, the form_id is blank.
to access all records pertaining to a given form (XYZ), this is the SQL:
SELECT *, form_id FROM {$wpdb->cformsdata}, {$wpdb->cformssubmissions} WHERE sub_id=id AND form_id='XYZ' ORDER BY sub_id, f_id
$wpdb->cformsdata and $wpdb->cformssubmissions of course need to be set.
XYZ = blank for form #1 and 2,3,4...for other forms.
|
|
|
Fish - Guest
10:35 pm - April 21, 2008
|
| |
|
Awesome. I see. Thanks Oliver!
|
|
Search
|
|