This topic is locked

entry not save in database

8/12/2005 11:35:24 AM
PHPRunner General questions
author

Hi, I have a problem, I have 2 field that wont save in the database, can you find out for me. PS the 2 field are in date format.

Thanks.

501226 8/12/2005

I have see something, I have 4 date field and I found that I havee to choose the same format for all of them. IT is fine but in the field year the drop down box start at 1950, Is ther a way to make it start at 1900.

Best Regards and hope it can be done.

Boris.

admin 8/15/2005

Boris,
you need to open generated ...\include\..._functions.php file, find WriteYears($y) function and replace this line:

for($i=$tm["tm_year"]+1900-$cYearRadius;$i<=$tm["tm_year"]+1900+$cYearRadius;$i++)


with this one:

for($i=1900;$i<=$tm["tm_year"]+1900+$cYearRadius;$i++)