I'm trying to get a timestamp from the sql server with the following: avp_delete("$(avp(s:rds_time))"); avp_db_query("SELECT time FROM usr_status WHERE cid='$ci';","$(avp(s:rds_time))"); HOWEVER, even if the time field is "2008-04-21 15:06:33" the avp is only filled with "2008". Any idea what's going on ?? - gojensen UNINETT