Hans Zaunere said: > > I've seen a lot of posts trying to answer this is a lot of wierd ways. > This is a trivial problem. You must read how PHP handles variables: > > http://www.php.net/manual/en/language.types.type-juggling.php > http://www.php.net/manual/en/language.types.integer.php#language.types.integer.casting> > and really you should read these, since you're even asking this > question: > http://www.php.net/manual/en/language.types.php > http://www.php.net/manual/en/ref.variables.php > > Hans Z. > New York PHP > http://nyphp.org I did read all of them. The problems are with the way it juggles things. Luckily there is the is_numeric function, because that's exactly what I need to check. Lach