Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if data = `SwiboFormSubmissionType_Patient`
- declare saved_nid int;
- set saved_nid = nid;
- declare saved_sid int;
- set saved_sid = sid;
- declare saved_email mediumtext;
- select data from webform_submitted_data where nid = saved_nid and sid = saved_sid and cid = 1 int saved_email;
- declare saved_firstname mediumtext;
- select data from webform_submitted_data where nid = saved_nid and sid = saved_sid and cid = 2 int saved_firstname;
- declare saved_lastname mediumtext;
- select data from webform_submitted_data where nid = saved_nid and sid = saved_sid and cid = 3 int saved_lastname;
- declare saved_password mediumtext;
- select data from webform_submitted_data where nid = saved_nid and sid = saved_sid and cid = 4 int saved_password;
- insert into kassgma33805com43162_swibo.clinics (email, firstName, lastName, password) select saved_email, saved_firstname, saved_lastname, saved_password;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement