I have used following query..
$query1= mysql_query("INSERT into pg(pgmail, pgpass, pgfname, pgmname, pglname, updt, dtcreate) values('$email','$pass', '$fname', '$mname', '$lname', now(), mktime())")or die(mysql_error());
ERROR : FUNCTION mydb.mktime does not exist
You should do this:
since
now()is a valid MYSQL function, butmktime()is a php function, which is not evaluated in string context.