The SitePoint Forums have moved.

You can now find them here.
This forum is now closed to new posts, but you can browse existing content.
You can find out more information about the move and how to open a new account (if necessary) here.
If you get stuck you can get support by emailing forums@sitepoint.com

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Exactly when showform2.php opens onload it makes the query and results generates function lines, so showform2.php will show calendar with this days highlighteds. If i use your code no errors appears, but calendar doesnt show this days...

Use this function to add the special days
Add the DD-MMM-YYYY, Text for the special day
*/
function load_SpecialDays() {
add_SpecialDay(18-06-2008, 'booked');
add_SpecialDay(03-07-2008, 'booked');
add_SpecialDay(12-07-2008, 'booked');
}
// Call function to load all the special days
load_SpecialDays()
</script>
/*
Use this function to add the special days
Add the DD-MMM-YYYY, Text for the special day
*/
function load_SpecialDays() {
add_SpecialDay("01-Jun-2008", 'booked')
add_SpecialDay("4/Jun/2008", 'booked')
add_SpecialDay("5-Jun-2008", 'booked')
}
// Call function to load all the special days
load_SpecialDays()

I think this is the problem: format must be add_SpecialDay("12-07-2008", 'booked') and we have add_SpecialDay(12-07-2008, 'booked');
Ok i delete ";" but how can i convert this 12-07-2008 to "12-07-2008"?