Log in

View Full Version : is this right?


MamboCube
06-01-2006, 08:56 AM
$events = $db->query

is that right? or should it be set out differently now?

Paul M
06-01-2006, 08:57 AM
Would you like to elaborate slightly ?

MamboCube
06-01-2006, 09:09 AM
well ,ive been trying to install this calendar events thing (https://vborg.vbsupport.ru/showthread.php?t=105215&highlight=calender+on+non+vb), but i get this error message

Fatal error: Call to a member function on a non-object in /home/****/public_html/includes/calendar.txt on line 2


and this is the code i have on line 2:

$events = $db->query ("SELECT UNIX_TIMESTAMP() AS dateline, dateline_from, eventid, title

and i dont know what the error message means, ive checked that the tables exist, which they do, and ive taken out the "UNIX_TIMESTAMP()" thing, but the error was still the same

so im not sure what is causing the error, and thought it might be something to do with the "$events = $db->query" bit

any ideas anyone?
Paul M?

no matter, i figured out that i could do it all a different way