Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $q = Doctrine_Query::create()
- ->update('Affiliate_Users')
- ->set('acct_username', '?', $acct_username)
- ->set('acct_pass', '?', $acct_pass)
- ->set('plan_group', '?', $plan_group)
- ->set('acct_fname', '?', $acct_fname)
- ->set('acct_lname', '?', $acct_lname)
- ->set('acct_email', '?', $acct_email)
- ->set('acct_street', '?', $acct_street)
- ->set('acct_city', '?', $acct_city)
- ->set('acct_state', '?', $acct_state)
- ->set('acct_postal', '?', $acct_postal)
- ->set('acct_hphone', '?', $acct_hphone)
- ->set('acct_cphone', '?', $acct_cphone)
- ->set('acct_payment_type', '?', $acct_payment_type)
- ->set('acct_website', '?', $acct_website)
- ->set('updated_at', '?', $updated_at)
- ->where('id > ? ',$id);
- $q->execute();
- UPDATE Affiliate_Users SET acct_username = ?, acct_pass = ?, plan_group = ?, acct_fname = ?, acct_lname = ?, acct_email = ?, acct_street = ?, acct_city = ?, acct_state = ?, acct_postal = ?, acct_hphone = ?, acct_cphone = ?, acct_payment_type = ?, acct_website = ?, updated_at = ? WHERE id > ? - (hello, hello, default, hello, hellohello, hello818, hellohellohellohellohello, hello, hello, hello, hello, hello, paypal, hello, 2009-02-19 15:58:50, 3 )
- There seems to be an error in your SQL query. The MySQL server error output below, if there is any, may also help you in diagnosing the problem
- ERROR: Unknown Punctuation String @ 44
- STR: ?,
- SQL: UPDATE Affiliate_Users SET acct_username = ?, acct_pass = ?, plan_group = ?, acct_fname = ?, acct_lname = ?, acct_email = ?, acct_street = ?, acct_city = ?, acct_state = ?, acct_postal = ?, acct_hphone = ?, acct_cphone = ?, acct_payment_type = ?, acct_website = ?, updated_at = ? WHERE id > ? - (hello123, hello, default, hello, hellohello, hello818, hellohellohellohellohello, hello, hello, hello, hello, hello, paypal, hello, 2009-02-19 15:58:50, 2 )
- SQL query:
- UPDATE Affiliate_Users SET acct_username = ?, acct_pass = ?, plan_group = ?, acct_fname = ?, acct_lname = ?, acct_email = ?, acct_street = ?, acct_city = ?, acct_state = ?, acct_postal = ?, acct_hphone = ?, acct_cphone = ?, acct_payment_type = ?, acct_website = ?, updated_at = ? WHERE id > ? - (hello123, hello, default, hello, hellohello, hello818, hellohellohellohellohello, hello, hello, hello, hello, hello, paypal, hello, 2009-02-19 15:58:50, 2 )
- MySQL said: Documentation
- #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '?, acct_pass = ?, plan_group = ?, acct_fname = ?, acct_lname = ?, acct_email = ?' at line 1
Add Comment
Please, Sign In to add comment