RE: [PHP-DB] urgent postgresql date problem ...

2001-05-09 Thread Steve Brett
;}else{$instdate=" ";} } if ($output==2) { if (!pg_fieldisnull($lastv,0,0)){$lastvisit = gmdate("d/m/y", strtotime($lastvdets[0]));}else{$instdate="";} } } } Steve > -Original Message- > From: S

[PHP-DB] urgent postgresql date problem ...

2001-05-09 Thread Steve Brett
hi, i've got a really annoying problem with php. i need to generate a report that is quite complex and have done 99% of the work but am stuck on the final leg. what i need to do is extract the last visit of training staff from an appointments table. simple you might think. the sql "selelect m