PDA

View Full Version : error in sql-tag?


Xenon
07-02-2002, 03:11 PM
hmm, look:
UPDATE user SET ppd=posts/((UNIX_TIMESTAMP(NOW())-joindate)/86400)

should be:
UPDATE user SET ppd=posts/((UNIX_TIMESTAMP(NOW())-joindate)/86400)


please don't hate me pointing at thos bugs chen ;)

Admin
07-02-2002, 06:03 PM
The [sql] tag was never officialy released and not meants for use for this exact reason... it also have bugs with quotes I think. I just got around to fix it.