PHP Classes


Recommend this page to a friend!

      phpMyDataGrid - AJAX Enabled Datagrid  >  All threads  >  varcharfield  >  (Un) Subscribe thread alerts  
Summary:Text field
Author:Antal Mittendorff
Date:2012-12-18 09:44:17

  1. varcharfield   Reply   Report abuse  
Picture of Antal Mittendorff Antal Mittendorff - 2012-12-18 09:44:17

I have a textfield, varchar
$objGrid -> FormatColumn("telnr", "TelNR", 13, 13, 0, "70", "left", "text");

But whenever i put something like 0000000 in that field, it will be stored as 0

So it is being treated like an integer.

How can i disable this behaviour?