PDA

View Full Version : Another mySQL question


Verity
01-04-2004, 03:20 AM
hi all,

I've just recently installed the Easy Simple Calendar on my site and everything seems to be fine (that is, I can see the demo calendar) but I also get the following message above:

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/theinkbl/public_html/calendar/escal.php on line 228

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/theinkbl/public_html/calendar/escal.php on line 236

can someone tell me what's wrong and what I can do to fix it? I have tne mySQL database set up properly (at least I'm fairly sure it's set up properly..) but I'm a definate newbie. Please help!

Brian
01-04-2004, 05:05 PM
Did you run the escalInstall.php file and it reported no errors?

Verity
01-05-2004, 05:27 AM
Yes, i get this message:

>> The connection to the database was successful!

>>The table was added to the database!

You should now be able to use the ESCalendar Script with it's SQL functions.

Verity
01-05-2004, 07:28 AM
the thing is, when i run the demo.php, everything works fine..

Verity
01-05-2004, 09:51 AM
..okay nevermind. For some reason everything seems to work fine now. I'm not sure what I did exactly, but hey - if it ain't broke.. =o)

another question. Right now, I want to display the calendar a particular page. i'm doing so by using iframes linking it to the php file. However, I've got the iframe set to the exact size of the calendar and as a result. the little popup boxes aren't showing up. Is there another way for me to display the calendar on a specific page?

if you want to see what in the world I'm talking about, here's the link. I'm not too great to explaining things sometimes.. =o(

www.the-inkblot.org/test

Brian
01-05-2004, 09:58 AM
Originally posted by Verity@Jan 5 2004, 09:51 AM
..okay nevermind. For some reason everything seems to work fine now. I'm not sure what I did exactly, but hey - if it ain't broke.. =o)

another question. Right now, I want to display the calendar a particular page. i'm doing so by using iframes linking it to the php file. However, I've got the iframe set to the exact size of the calendar and as a result. the little popup boxes aren't showing up. Is there another way for me to display the calendar on a specific page?

if you want to see what in the world I'm talking about, here's the link. I'm not too great to explaining things sometimes.. =o(

www.the-inkblot.org/test
You going to have problem with that using an iframe. I would turn off the overLIB pop-up and see if the standard mouseover will work.

Verity
01-05-2004, 11:23 PM
okay - is there another way for me to do this without using an iframe? i.e. call the script from the original table itself?