RE: [fw-general] Escape POST variable's value

2007-09-14 Thread Sanjay Aggarwal
Zend_Db class's function take care of it automatically. So you need not to be worried. -Original Message- From: Kexiao Liao [mailto:[EMAIL PROTECTED] Sent: Friday, September 14, 2007 7:28 AM To: fw-general@lists.zend.com Subject: [fw-general] Escape POST variable's value Bef

Re: [fw-general] Escape POST variable's value

2007-09-14 Thread Graham Anderson
Jude Aakjaer wrote: Hi, Checkout the manual in relation to Zend_Db quoting http://framework.zend.com/manual/en/zend.db.html#zend.db.adapter.quoting I believe also all the variable replacement methods such as $db->insert('table_name', array('fieldone' => $value1, )); performs automatic qu

Re: [fw-general] Escape POST variable's value

2007-09-13 Thread Jude Aakjaer
Hi, Checkout the manual in relation to Zend_Db quoting http://framework.zend.com/manual/en/zend.db.html#zend.db.adapter.quoting I believe also all the variable replacement methods such as $db->insert('table_name', array('fieldone' => $value1, )); performs automatic quoting Regards Jude A

[fw-general] Escape POST variable's value

2007-09-13 Thread Kexiao Liao
Before I save POST variable's values into Database table, Do I need to escape these values to filter out any unexpected characters in the string? What is the function we need to call for these filtering? -- View this message in context: http://www.nabble.com/Escape-POST-variable%27s-value-tf443