mysql_insert_array is a fatal error
<p>i am trying to insert the contents of the array below into my mysql table into the fields supplied. but i get fatal error: Call to undefined function mysql_insert_array();
    any ideas?</p>

<pre><code>  &lt;?php

 // Open database here
 $connect = mysql_connect("xxxxx", "xxxx", "xxxx") or         die('Couldn\'t connect to MySQL Server: ' . mysql_error());
    mysql_select_db("xxxx", $connect ) or die('Couldn\'t Select the database: ' . mysql_error( $connect ));
    // Let's pretend these values were passed by a form
   $_POST['name'] = "Bob Marley";
   $_POST['country'] = "Jamaica";
   $_POST['music'] = "Reggae";
  $_POST['submit'] = "Submit";

  // Insert all the values of $_POST into the database table `artists`, except
  // for $_POST['submit'].  Remember, field names are determined by array keys!
  $result = mysql_insert_array("artists", $_POST, "submit");

  // Results
    if( $result['mysql_error'] ) {
    echo "Query Failed: " . $result['mysql_error'];
      } else {
    echo "Query Succeeded! &lt;br /&gt;";
    echo "&lt;pre&gt;";
    print_r($result);
     echo "&lt;/pre&gt;";
    }

   // Close database

     ?&gt;
</code></pre>
