PHP expert |
|
Citaat: Warning: Missing argument 1 for mysql() in /usr/export/www/vhosts/funnetwork/hosting/mwarfare/includes/mysql_class.php on line 44
Warning: Missing argument 2 for mysql() in /usr/export/www/vhosts/funnetwork/hosting/mwarfare/includes/mysql_class.php on line 44
Warning: Missing argument 3 for mysql() in /usr/export/www/vhosts/funnetwork/hosting/mwarfare/includes/mysql_class.php on line 44
Warning: Missing argument 4 for mysql() in /usr/export/www/vhosts/funnetwork/hosting/mwarfare/includes/mysql_class.php on line 44
<?php
function mysql($host, $user, $pass, $db){
$this->connect($host, $user, $pass, $db);
}
?>
<?php function mysql($host, $user, $pass, $db){ $this->connect($host, $user, $pass, $db); } ?>
dat is lijn 44
en op index.php, waar ik de functie aanroep:
<?php
//mysqlclass aanroepen
$cMysql = new mysql;
//connentfunctie aanroepen
$cMysql->mysql("localhost", "mwarfare", "****", "mwarfare");
?>
<?php //mysqlclass aanroepen //connentfunctie aanroepen $cMysql->mysql("localhost", "mwarfare", "****", "mwarfare"); ?>
|