I am tired of making forms, inserting etc in MySQL and manually make validating on post fields.
In ruby it is all easy, but is there something like in PHP?
I hate to type
INSERT INTO something (1million, 1sdlsds,sds,ds,d,sd,sd,sd,sd,sd,s,ds,ds,ds,dds,sds,dsdsds,ds,dsd,sd,sd,sdsdsdsd) values ('@','a,'sds...........)
and also make manually validation on each post field.
Is there some alternative to make this easy?
In ruby it's just:
o = Users.new(:name => "Jesper", :email => "Noget").save!
And the validation in the model.