[PHP] any security issues with this mysql_update function?

2012-01-13 Thread Haluk Karamete
I wrote a function sql_update which takes a $db_name, a $table_name, a $where and finally a $data array where data is authored by using an associative array which allows easy the pairing of field names and field values. This is how I build the data array; $data = array( 'FirstName' =

Re: [PHP] any security issues with this mysql_update function?

2012-01-13 Thread Tommy Pham
On Fri, Jan 13, 2012 at 7:52 PM, Haluk Karamete halukkaram...@gmail.com wrote: I wrote a function sql_update which takes a $db_name, a $table_name, a $where and finally a $data array where data is authored by using an associative array which allows easy the pairing of field names and field