Welcome Guest, Not a member yet? Register   Sign In
How to map upload.php and my table information
#4

[eluser]iainco[/eluser]
When you use the Active Record insert function, you must supply an array with column names as indexes (or an object) and their respective values as the elements/variables.

But I'm not quite sure I follow you, 'cause if you're inserting data into a table, then you'll already know what column names are and they won't change.

Active Record queries escape data for you - "All values are escaped automatically producing safer queries." from user guide.


Messages In This Thread
How to map upload.php and my table information - by El Forum - 12-17-2008, 05:24 PM
How to map upload.php and my table information - by El Forum - 12-17-2008, 06:44 PM
How to map upload.php and my table information - by El Forum - 12-17-2008, 07:08 PM
How to map upload.php and my table information - by El Forum - 12-17-2008, 07:25 PM
How to map upload.php and my table information - by El Forum - 12-17-2008, 07:30 PM
How to map upload.php and my table information - by El Forum - 12-17-2008, 07:37 PM
How to map upload.php and my table information - by El Forum - 12-17-2008, 07:44 PM
How to map upload.php and my table information - by El Forum - 12-18-2008, 07:12 AM



Theme © iAndrew 2016 - Forum software by © MyBB