Welcome Guest, Not a member yet? Register   Sign In
Database Question
#1

[eluser]bradcis[/eluser]
I am wondering if I put and/or take information from the database, do I need to use the addslashes() or stripslashes() functions or is the data already ran through them via $this->db->query();

Thank you much,

Brad
#2

[eluser]Glen Swinfield[/eluser]
You will probably need to addslashes() yourself. If using mysql use mysql_real_escape_string(). Check the php manual for further info on the function.

$this->db->query(); does nothing with the data passed to it other than execute a mysql_query() around it.
#3

[eluser]bradcis[/eluser]
Thank you much, Codepat! =)

Have a great day,

Brad




Theme © iAndrew 2016 - Forum software by © MyBB