Hi all,
I need to pass a datetime string from a form to be stored on the
database as -MM-DD hh:mm:ss (i.e. datetime format in MySQL).
I then put code to clean the $this-data array in the app_model to try
to setup automatic cleaning of all saved data. What I found was that
because
I then put code to clean the $this-data array in the app_model to try
to setup automatic cleaning of all saved data. What I found was that
because cleanArray() cleans everything without mercy, including html
encoding on everything, it encoded the hyphens in teh datetime format
(not the
On Mon, 31 Jul 2006 02:34:29 -0700
AD7six [EMAIL PROTECTED] wrote:
Why use sanitize at all? Data sent to the DB get´s escaped anyway, so
it´s not exactly necessary. I thought the intention of the sanitize
class was for example, so you could still escape your custom sql
queries easily.
Well,