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

Write a function that takes "depth" as argument and return sum of node's data of that depth. For instance, (0) depth 0 / \ (10) (20) depth 1 / \ (40) (50) depth2 If I pass get_sum_by_depth(2) , it would return 90 (i.e. 40 + 50 )

0 Answers   Amazon,


am from coimbatore.am learning php&mysql. what will be the approx salary for me if i get a job in coimbatore.

0 Answers   HCL,


Tell me which programming language does php resemble to?

0 Answers  


What are the rules for naming a php variable?

0 Answers  


how to insert, update data in database

4 Answers  






Which function would you use to determine the length of a string in php?

0 Answers  


What does odbc do in context with php?

0 Answers  


How can we increase execution time of a php script?

0 Answers  


How can we check the value of a given variable is a number?

0 Answers  


Why ide is recommended for use while programming with php?

0 Answers  


What are the options to transfer session ids?

0 Answers  


Explain briefly about a search-friendly site looks like?

0 Answers  


Categories