rajaahsan Posted April 11, 2011 Share Posted April 11, 2011 Helloo ever one i need know In PHP the function giving the current time stamp value is time(). So we can write a line like below to get the current time stamp value. <? echo time(); ?> my Question is how to display any value on specific time( where value is stored in database )... Quote Link to comment https://forums.phpfreaks.com/topic/233384-problem-need-help/ Share on other sites More sharing options...
Psycho Posted April 11, 2011 Share Posted April 11, 2011 It depends on what type of field is used int he database to store the time value. Depending on that you would probably need to use strtotime() along with date() to display the appropriate value. Quote Link to comment https://forums.phpfreaks.com/topic/233384-problem-need-help/#findComment-1200208 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.