Reply to Re: [PHP] Converting to a string

Your name:

Reply:


Posted by PartyPosters on 03/23/05 23:30

Thanks guys, you were right - I needed to change the format of the field in
the database.

:D


----- Original Message -----
From: "Daniel Gerzo" <danger@rulez.sk>
To: "PartyPosters" <sales@partyposters.co.uk>; <php-general@lists.php.net>
Sent: Wednesday, March 23, 2005 8:58 PM
Subject: Re: [PHP] Converting to a string


Hello PartyPosters,

Wednesday, March 23, 2005, 9:43:30 PM, si odoslal:

> Hello guys,
> i am using date("l dS of F Y h:i:s A") and want to put the value in a
database as a string,
> How do I converting it to a string, this is what I have got so far:-
> $v_ship_date = date("l dS of F Y h:i:s A");

well, php doesn't really cares if you got string or bool or integer
like c or pascal does. php is converting automatically integers to
strings and so far, you can add your value to the database whithout
any manual converting...

> Lots of thanks.

--
Later

+----------==/\/\==----------+ (__) FreeBSD
| DanGer <danger@rulez.sk> | \\\'',) The
| DanGer@IRCnet ICQ261701668 | \/ \ ^ Power
| http://danger.rulez.sk | .\._/_) To
+----------==\/\/==----------+ Serve

[ Ved evidenciu o svojich udajoch, je to dokaz tvojej prace. ]

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация