Page 1 of 1

Insert selected dates

Posted: Fri Oct 06, 2006 11:49 am
by wHiTeHaT
Hello @all

i made a site with a few excisting scripts
currently it fungate as a shoppingcart.
take a look here:
http://www.inteladd.com/modules.php?nam ... info&Pid=1

As you can see here adding to cart works verry well.
However i would like to add also dates to the database.
The date stuff i got from activecalendar free opensource class , however there isnt documentation how to add events etc.

For now i only managed to add the current date with a simple now() to the database.

You can take a look at my productinfo file here:
http://www.inteladd.com/codewalkers/productinfo.phps
So what i try to achieve is to get the start and end date into this call
when i use the pop-up calendar:

Code: Select all

echo "<a href=\"#\" onclick=\"addToBasket('$products_id','$products_name','$products_price','$now','$startDate','$endDate');return false;\"><img src=\"modules/Fly_to_Basket/images/basket.gif\"></a>";
Grtzz wHiTeHaT