Re: Converting to a string

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

:D


----- Original Message -----
From: "Daniel Gerzo" <danger@xxxxxxxx>
To: "PartyPosters" <sales@xxxxxxxxxxxxxxxxxx>; <php-general@xxxxxxxxxxxxx>
Sent: Wednesday, March 23, 2005 8:58 PM
Subject: Re:  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@xxxxxxxx>  |    \\\'',)      The
| DanGer@IRCnet ICQ261701668 |      \/  \ ^    Power
|   http://danger.rulez.sk   |      .\._/_)    To
+----------==\/\/==----------+                 Serve

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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux