Insert selected dates

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
wHiTeHaT
Forum Newbie
Posts: 15
Joined: Thu Nov 17, 2005 2:48 pm

Insert selected dates

Post 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
Post Reply