php - mysql date and time filter -



php - mysql date and time filter -

can please recommend can find documentation next :

i have mysql table called customer

---------------------------------- name + surname + email + dob ---------------------------------

my dob table format : dd-mm-yyyy hh:mm:ss

i have html filter done form lets search "from date - " date "

it not post or dont know how create filter date.

any help appreciated.

first have convert "from date" "to date" in dd-mm-yyyy formate.

then add together status in query as

where dob between "from date 00:00:00" , "to date 23:59:59"

php mysql filter

Comments

Popular posts from this blog

php - How to pass multiple values from url -

database - php search bar when I press submit with nothing in the search bar it shows all the data -

ios - How to load .png images from Documents folder of an app -