when ever the user logged in the database table the current
registered date will be appeared
Answer Posted / master
if you want to store the current date from the database
then use current_date() to get the current date and insert
into the table or if you want to take the value from php
and store it in the database the use date('d/m/y') and
insert using the insert query into the db.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What are the main error types in php and how do they differ?
Why die is used in php?
What is lamp in php?
What is api used for?
How many types of array are there in php?
What is meant by pdo in php?
Which is not a file-related function in php?
How many data types are there in php?
Difference between array_combine and array_merge?
What is $_ files in php?
Is php closing tag necessary?
When are you supposed to use endif to end the conditional statement?
Can constructor be private in php?
I am writing an application in php that outputs a printable version of driving directions. It contains some long sentences, and I am a neat freak, and would like to make sure that no line exceeds 50 characters. How do I accomplish that with php?
How to convert a json string to an array in php?