Skip to content

Tag: mysql

Replace value in array with result of mysqli_query

I’m having some trouble with php coding. What I want to do is following: Create an array ($rows) and fil it with the results of a mysqli_query ($query1) –> OK for each element in that array, replace the value of a certain key (pilot_rule_id) with the result of another mysqli_query ($query2). (t…