Re: Strange problem...

From: Date: Fri, 30 Nov 2001 22:49:20 +0000
Subject: Re: Strange problem...
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-76269@lists.php.net to get a copy of this message
Hello Daniel, 1 Dec 2001, 0:43:42, you've written: What's the propery of field your are inserting your info to? Is it INT or BIGINT or maybe TEXT? Try something new :) DA> Hi, DA> i have a strange problem. DA> I get a users birthdate with three dropdown menus (year, month and day of DA> month). I get these values into one string with: DA> $user_birthdate = $birth_year . $birth_month . $birth_day; DA> If i echo $user_birthdate after this it is correct (yyyymmdd). But when i DA> insert the value of $user_birthdate into MySql it gets the value '8388607'. DA> It doesn´t matter what value $user_birthdate had originally - it always DA> inserts as 8388607. DA> Any ideas??? ------------------------------------------------ Ivan 'Faeton aka xetrix' Danishevsky ICQ(240266) faeton@xemichat.com www.xemichat.com ::: Â ïèàíèíî âíóòðè åñòü äîñêà, êîòîðàÿ íàõîäèòñÿ âíóòðè! :::

« previous php.general (#76269) next »