Also ich hab das nun soweit hinbekommen und er kann auch kurz die Verbindung zur DB herstellen, doch dann kommt promt ne Fehlermeldung:
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /mnt/web1/21/97/52167797/htdocs/chat/lib/class/AJAXChatMySQLQuery.php on line 24
Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in /mnt/web1/21/97/52167797/htdocs/chat/lib/class/AJAXChatMySQLQuery.php on line 26
Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /mnt/web1/21/97/52167797/htdocs/chat/lib/class/AJAXChatMySQLQuery.php on line 27
Query: SELECT userID, userName, userRole, channel, UNIX_TIMESTAMP(dateTime) AS timeStamp, ip FROM chat.ajax_chat_online ORDER BY userName; Error-Report: Error-Code:
In der Datei ist folgender Code:
PHP-Code:
$this->_result = mysql_query($this->_sql, $this->_connectionID);
if(!$this->_result) {
$this->_errno = mysql_errno($this->_connectionID);
$this->_error = mysql_error($this->_connectionID);
Wenn mir jemand helfen kann wäre das sehr schön.