gr4devel Posted May 22, 2013 Share Posted May 22, 2013 (edited) Hi community ! A simple question. Does the insert method (in PS 1.5) support the inserting of only some value in a db row? Actually I'm using it (i.e. the method) but it doesn't save the values specified nor it rise any error. My final goal is to save only some value in a db row, specifically the ones that passed my validations. Thanks in advance to everyone that would try to help me! Edited May 22, 2013 by gr4devel (see edit history) Link to comment Share on other sites More sharing options...
gr4devel Posted May 22, 2013 Author Share Posted May 22, 2013 Mmm...there's nothing wrong with the insert method!!! Guys the problem was (obviously) my code. I was inserting only the values that passed each validation and so the others (previously validated and inserted) were overwritten. Now I accumulate the validated fields and update the row with them on every new passed validation. And it works!!! Sorry for the entropy caused by my post! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now