Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.

Calender popup


Demons Halo's Avatar
Member
0 0

Hello again! I'm currently working on a PHP/JavaScript based calendar. The main purpose of the calender is to show event(s) when a user have the mouse over a table-cell containing a certain date.

mouse over date X –> script check for events in DB for date X –> popup window with events from DB.

What is the best way to do this? JavaScript does not seem secure enough to use and using php would mean that refreshing the page is needed. what other options are there?


spyware's Avatar
Banned
0 0

…what way is there? AJAX.


Demons Halo's Avatar
Member
0 0

well I've got the data stored in a MySQL DB, I'm not using any XML files :P so how can AJAX help me with that?!


spyware's Avatar
Banned
0 0

Demons Halo wrote: well I've got the data stored in a MySQL DB, I'm not using any XML files :P so how can AJAX help me with that?!

Erhm, you can call to a PHP script without refreshing?


Demons Halo's Avatar
Member
0 0

spyware wrote: [quote]Demons Halo wrote: well I've got the data stored in a MySQL DB, I'm not using any XML files :P so how can AJAX help me with that?!

Erhm, you can call to a PHP script without refreshing?[/quote]

O.o I dont see how! every google search I do ends up with AJAX recommendation :/


Demons Halo's Avatar
Member
0 0

ZOMG!!! IT'S WORKING!!! IT IS ALIIIIIIIIIIIIIVE!!!! o.O

no but seriously, thanks :P