php pdo random multiple insert query

Solutions on MaxInterview for php pdo random multiple insert query by the best coders in the world

showing results for - "php pdo random multiple insert query"
Maximilian
10 Mar 2017
1function updateMultipile($table, $data = array())
2{
3    $db = DBLink::getInstance();
4    foreach($data as $id => $update)
5    {
6        $sql = "UPDATE ?n SET ?u WHERE location_id = ?i";
7        $db->query($table,$update,$id); 
8    }
9}
10
similar questions
queries leading to this page
php pdo random multiple insert query