![]() |
![]() ![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 367 Pomógł: 10 Dołączył: 20.05.2005 Ostrzeżenie: (0%) ![]() ![]() |
Witam.
Korzystając z Zend_Db_Table pobieram sobie wiersz po primary key. Tabela składa się z różnych kolumn, int,float,varchar,date
W rezultacie obiekt zawiera wszystkie pola typu string. Dodatkowo float zamienia . na , Kod object(Zend_Db_Table_Row)#41 (6) { ["_data:protected"]=> array(7) { ["entry_id"]=> string(7) "4162127" ["project_id"]=> string(7) "1327267" ["person_id"]=> string(7) "1759771" ["entry_date"]=> string(10) "2007-08-29" ["entry_description"]=> string(4) "hehe" ["entry_hours"]=> string(4) "5,08" ["todo_item_id"]=> string(1) "0" } Miał ktoś z tym problem? BazaDanych: MySQL Engine: InnoDB EDIT: Problem leży po stronie Locale. jest ustawione na pl_PL i . zamieniana jest na , Poradziłem sobie. Ten post edytował eai 30.08.2007, 10:10:01 |
|
|
![]() ![]() |
![]() |
Aktualny czas: 19.08.2025 - 20:44 |