eh nevermind, I found settype(); :) thanks
On Mon, 14 Jun 2004, Adam Williams wrote: > Hi, I have a variable that is created using the date command: > > $date = date("Ymd"); > > but its not working in my database this way (when I explicity enter > 20040614 in my database, it works though). so I think PHP is making $date > a character variable, so how can I force or change the caste of $date to > force it to be an integer variable? thanks > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php