From: Lauren M. <in...@ca...> - 2000-02-19 17:08:00
|
I don't see you assigning the $events array, that is created by the mcal_list_events function. Lauren. gm...@51... wrote: > >Are you getting any error messages? > > > >Lauren. > > No. I don't get any error messages. > > Correct me if I'm wrong, but shouldn't the following (from php-builder examples) give me the day with the event title shown? > > .... > for($i=0;$i<$startday;$i++) { > echo "<td bgcolor='#dcdcdc' class='day'> </td>"; > } > $dayofweek=$startday; > for($i=1;$i<=$days;$i++) { > if (($dayofweek % 7 == 0) && ($dayofweek !=0)) { > printf( "</tr>\n<tr>"); > } > ..... > for($x=0;$x<count($events);$x++) { > $event=mcal_fetch_event($stream,$events[$x]); > $start=$event->start; > $date_array[$start->mday]=$date_array[$start->mday]."<br>$event->title"; > } > ..... > if ($date_array[$i]) { > echo "<A href=\"viewevent.php3?month=$month&year=$year&day=$i\">"; > echo $date_array[$i]."</a>"; > } > > _______________________________________________ > Libmcal-users mailing list > Lib...@li... > http://lists.sourceforge.net/mailman/listinfo/libmcal-users |