Re: [PHP-WIN] MySQL query error

2007-07-07 Thread Ben
Not to mention that read would most likely be a tinyint(1), and thus shouldn't be fed a character. Stut wrote: Please include the list when replying. James Blandford wrote: It seems i have fixed it >_< thanks for your time thou. It turns out that I couldn't have "read" as a field name due to

[PHP-WIN] Re: array walk?

2007-07-07 Thread Ben
Take a look at array_walk() http://be2.php.net/manual/en/function.array-map.php It might be better for what you're doing. Juan Ignacio Borda wrote: this code doesn't work on my PHP Version 5.2.1 (i'm trying to protect a stie from XSS) como'; $a[]=Array('hola','hello'); array_walk_recursive($a