Re: [PHP] Strange problem... From: faeton (faeton <email protected>)
Date: 11/30/01

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 <email protected> www.xemichat.com
::: Â ïèàíèíî âíóòðè åñòü äîñêà, êîòîðàÿ íàõîäèòñÿ âíóòðè! :::

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe <email protected>
For additional commands, e-mail: php-general-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>