27 Lut
2012
27 Lut
'12
13:14
On 27.02.2012 13:06, Jaroslaw Czarniak wrote:
function q($cmd) {
global $DB;
$result = 'xxxx'; $tmp = $DB->GetOne('SELECT 1 from nodes'); // xajax response $objResponse = new xajaxResponse(); $objResponse->addAssign("SomeElementId", "innerHTML", $result); return $objResponse;
}
dostaje błąd: <b>Fatal error</b>: Call to a member function GetOne() on a non-object in <b>/home/www/lms.jarsat.pl/modules/doctest.php</b> on line <b>53</b><br />
--
Aleksander 'A.L.E.C' Machniak
LAN Management System Developer [http://lms.org.pl]
Roundcube Webmail Developer [http://roundcube.net]
---------------------------------------------------
PGP: 19359DC1 @@ GG: 2275252 @@ WWW: http://alec.pl