[Zope] SQL snippet...

Tony McDonald tony.mcdonald@ncl.ac.uk
Thu, 15 Jun 2000 11:05:02 +0100


Here's a quickie.

If you're using MySQL and return integers, you'll see L added to the 
end of your numbers (it's a Python thing!)

Try this
<dtml-var result fmt="%u">

et volia!, no L added to the end of your numbers...

Ithangyu.
Tone.
------
Dr Tony McDonald,  FMCC, Networked Learning Environments Project 
http://nle.ncl.ac.uk/
The Medical School, Newcastle University Tel: +44 191 222 5888
Fingerprint: 3450 876D FA41 B926 D3DD  F8C3 F2D0 C3B9 8B38 18A2