|
Well I would be easier to rename the language string but try this and then replace 30 days with $duration
$query = "SELECT id,user,userid,title,enddate,duration FROM {$Globals['pp_db_prefix']}products WHERE enddate < $expire AND status=0 AND isauction=0";
$result = ppmysql_query($query,$link);
while ( list( $id, $user, $userid, $title, $enddate,$duration )= mysql_fetch_array($result) ) {
Last edited by Chuck S; August 20th, 2005 at 07:43 AM.
|