when ever the user logged in the database table the current
registered date will be appeared

Answers were Sorted based on User's Feedback



when ever the user logged in the database table the current registered date will be appeared..

Answer / astutebou

If inserting into MySQL, just use NOW()

Is This Answer Correct ?    5 Yes 0 No

when ever the user logged in the database table the current registered date will be appeared..

Answer / 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

when ever the user logged in the database table the current registered date will be appeared..

Answer / sudheerrjy@gmail.com

please give answer

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More PHP Interview Questions

How do I stop a php script?

0 Answers  


Write a program to get lcm of two numbers using php?

0 Answers  


What is trim function in php?

0 Answers  


Which of the following represents the proper way to set a session variable? Answer: a. $_SESSION['foo'] = 'bar'; b. session_start(); c. session_set_save_handler ('myopen', 'myclose', 'myread', 'mywrite', 'mydelete', 'mygarbage'); d. $foo = $_SESSION['foo']; 2.When administering MySQL, you should make the data directory accessible via the operating system 3.which statement can be used to determine how the optimizer resolves a query

9 Answers   Cybercom, TCS,


What is array filter in php?

0 Answers  






What are different types of runtime errors in php?

0 Answers  


Where are the persistent cookies stored on your computer?

0 Answers  


What is difference between rest and http?

0 Answers  


What is php mainly used for?

0 Answers  


How to calculate the length of a string?

0 Answers  


What is the difference between explode() and split() functions?

0 Answers  


What is the difference between laravel and php?

0 Answers  


Categories