Welcome Guest, Not a member yet? Register   Sign In
Error when inserting from $_POST with Active Record
#3

[eluser]Buso[/eluser]
[quote author="rogierb" date="1255952395"]Hey there,

1: RTFM, there is a thing called the user_guide
[/quote]
I've read it, thanks

Quote:2: NEVER everr use $_POST to insert, always clean up your vars.
You are right, i just wanted to try this active record thing.

Quote:3: remove the submit field/button from your form(rename it, but much much better would be to do point 2).
how? rename it to what?

Quote:4: Article_id is not inserted as a string just because there a quotes around it. It will still be processed as an integer.
ok


Messages In This Thread
Error when inserting from $_POST with Active Record - by El Forum - 10-19-2009, 12:13 AM
Error when inserting from $_POST with Active Record - by El Forum - 10-19-2009, 12:39 AM
Error when inserting from $_POST with Active Record - by El Forum - 10-19-2009, 01:37 AM
Error when inserting from $_POST with Active Record - by El Forum - 10-19-2009, 01:57 AM
Error when inserting from $_POST with Active Record - by El Forum - 10-19-2009, 11:27 AM
Error when inserting from $_POST with Active Record - by El Forum - 10-19-2009, 11:30 AM



Theme © iAndrew 2016 - Forum software by © MyBB