Tag Archive: mysqli

Mar 02

Dynamic bind_param for mysqli update query in PHP

If you need to dynamically bind params to an UPDATE¬†query when you are using mysqli statement you will face some troubles. But few lines far you are going to find the right solution for you $query = ”; $flag = false; $bindParam = ”; $refArray = array(); $refArray[] = &$bindParam; //set the 0 field //Manage …

Continue reading »