PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Hey all, I'm writing an update program for users to update their own account info, well I have a field called user_join and its a timestamp of the time they joined the site
well everytime I go to update that record it updates that field as well and wipes out the original join date
also I tried to make a hidden field capturing the old date then updating that field with the old date but that didn't work either
//***** QUERY MYSQL RESULTS
function query_db($query)
{
dbconnect();
return @mysql_query($query);
}
that works fine, been using it forever... just can't figure out this damn timestamp thing... yea mac originally I didn't have that update user_join statement but it didn't work then either
session_start();
//***** INCLUDE GLOBAL MASTER FILES
include ("includes/main.php");
include ("includes/newfunc.php");
if (session_is_registered("valid_user"))
{