click to view result in that page itself
Hi php experts
I designed the calendar,in that calendar event dates only displayed with
Anchor , in that date holding the date like 09-08-2008 ,
When user click the date , that respective event details must be display,
any idea for this situation...
If the solution if ajax with php means am happy
well you could request it from your database if you dont mind it not looking like a sparse and having to refresh or go to a separate page.
$result = mysql_query("SELECT * FROM calendar WHERE date='$date'");
while($row = mysql_fetch_array($result))
echo '<option $row['event'];
Ajax would work just fine. Your calandar dates would have an id associated in either an onclick of href. The id is passed to an ajax function that displays the details.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)