Location: PHPKode > scripts > class.LoadData.php > class-loaddata-php/example.php
<?

/* Array of table field names */
   $f_names = array( "name", "location", "email", "username", "password");

/* Array corrosponding data to load */
   $load_data = array( "somename", "alocation", "hide@address.com", "secret word");                        


/* Load member information into database */

   $databaseInput = new LoadData( "tbl_name", "Database" );     
   $databaseInput->InputMember( $f_names, $loadData ); 

/* End database load */

?>
Return current item: class.LoadData.php