DjDanHayden
01-26-2012, 07:51 PM
$challenges=mysql_query("SELECT challid,challgrid,challgdid,challgrname,challgdname,DATE_FORMAT(created,'%M %d'),DATE_FORMAT(created,'%l:%i') FROM challenges WHERE challgrid='$team[id]' OR challgdid='$team[id]' ORDER BY created DESC");
while(list($challid,$challgrid,$challgdid,$challgrname,$challgdname,$created,$time)=mysql_fetch_row( $challenges))
I want the varaible $time to only show the time, it keeps outputting the date before it.
Can anyone help ?:confused:
while(list($challid,$challgrid,$challgdid,$challgrname,$challgdname,$created,$time)=mysql_fetch_row( $challenges))
I want the varaible $time to only show the time, it keeps outputting the date before it.
Can anyone help ?:confused: