ACC> But know I want to but an JavaScript to verify if a date/hour is a valid
ACC> format for MySQL.
ACC> Where should I put the JavaScript? In .php or .html?
Well you could actually put it in both, although it is easier to put
it the html since it avoids too much embeding.
ACC> Or I should check the date and hour on .php script?
It also depends.
The good thing about checking it with javascript is
that you are on the client side, therefore there are no query sent to
your server. If you use Javascript that also means the user doesn't
get sent to a page checking validity.
If you check it with Php that means the information is submitted to
the page and you treat it afterwards.
_______________________________________
Massuelles Jean-Baptiste([EMAIL PROTECTED])
Société A Comme...
Tel : 03 80 700 702
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]