Search found 3 matches

Return to advanced search

Re: Insert in table using two date fields

got it working: dont know what i did wrong but will post the final code here maybe somebody can use it: <?php $db = array ( 'host' => 'localhost', 'user' => 'test', 'pass' => 'test', 'dbname' => 'calendar' ); if(!mysql_connect($db['host'], $db['user'], $db['pass'])) { trigger_error('Connexion error:...
by jonathanlemaire
Wed Jan 12, 2011 5:14 pm
 
Forum: General
Topic: Insert in table using two date fields
Replies: 3
Views: 10830

Re: Insert in table using two date fields

after a while i am trying to solve this problem again, and i found some code wich might be usefull on how to insert multiple records using a date range. The problem is i cant get the values in the database, and i dont get any errors. is there anybody who can help me and get this working? if this wor...
by jonathanlemaire
Wed Jan 12, 2011 4:19 pm
 
Forum: General
Topic: Insert in table using two date fields
Replies: 3
Views: 10830

Insert in table using two date fields

First of all great script! well done! I want to insert a date selection at once using two date fields, for example: datefield1: 04-01-2010 datefield2: 08-01-2010 now i need to insert al the dates from 04-01-2010 till 08-01-2010 into the table (04-01-2010, 05-01-2010, 06-01-2010, 07-01-2010, 08-01-20...
by jonathanlemaire
Mon Jan 04, 2010 11:46 pm
 
Forum: General
Topic: Insert in table using two date fields
Replies: 3
Views: 10830

Return to advanced search

cron