select

hy,i use a select for write in a field {example}, and works,but want insert that if is date is today , change with a specific value .

Use the onvalidate event to check and replace the value if applicable.

Can You write,example,i notte sure but use sql for write code for obtain date

Hello,

To obtain the date you can use the function date() of php:
http://php.net/manual/en/function.date.php

In the SQL, the commun is the curdate() function:
http://www.w3schools.com/sql/func_curdate.asp