Virginijus Varnas wrote: > As siuo metu darau: > > $results=mysql_query("SELECT date FROM events"); > while($row = mysql_fetch_array($results)) > { > $date .= "'".$row["date"] ."',"; > } > $calendar->highlighted_dates = array($date); > > > bet man kazkodel nesikeicia, nors spausdinant su komanda echo, rodo > tvarkingai? t.y. > > <?php echo $date; ?> > > ekrane isveda gerai. t.y.: > '2009-11-03','2009-11-07','2009-11-16','2009-11-25' > > gal galit visgi kasnors padeti? bo jau galva nebegalvoja. Aciu > > $date = array(); while($row = mysql_fetch_array($results)) { $date[] = $row["date"]; } $calendar->highlighted_dates = $date;