Jump to content
Larry Ullman's Book Forums

Script 16.5 - What Further Validation(S) To Make Perfect?


Recommended Posts

What other validations are necessary to make this date picker perfect?

 

The reason I ask is that I received the below error(s) when I entered:

 

(1)

Warning: checkdate() expects parameter 3 to be long, string given in /Applications/MAMP/htdocs/PHP_MYSQL/datetime.php on line 37

One or both of the submitted dates was invalid.

Set the Start and End Dates for the Event

Start Date: (MM/DD/YYYY)

End Date: (10/18/eeee)

 

 

(2)

 

Notice: A non well formed numeric value encountered in /Applications/MAMP/htdocs/PHP_MYSQL/datetime.php on line 37

Notice: A non well formed numeric value encountered in /Applications/MAMP/htdocs/PHP_MYSQL/datetime.php on line 52

The starting date must precede the ending date.

Set the Start and End Dates for the Event

Start Date: (MM/DD/YYYY)

End Date: (10/18/2sd4)

Link to comment
Share on other sites

 Share

×
×
  • Create New...