fork download
  1. <?php
  2. $bands=new bands($db_parameters);
  3.  
  4. $fields=array(
  5. 'name'=>'Watain',
  6. 'year_start'=>1995,
  7. 'logo'=>'watain.png',
  8. 'creator'=>1
  9. );
  10. $band_id=$bands->add_info($fields);
  11. $countries=$bands->add_countries($band_id,array(5,7,8));
  12. $members=$bands->add_members($band_id,array(6,7,8,9));
  13. $albums=$bands->add_albums($band_id,array(1,2,3,4));
  14. ?>
Runtime error #stdin #stdout #stderr 0.01s 20568KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
PHP Fatal error:  Class 'bands' not found in /home/1EizPM/prog.php on line 2