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

:D


----- Original Message -----
From: "Daniel Gerzo" <[EMAIL PROTECTED]>
To: "PartyPosters" <[EMAIL PROTECTED]>; <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 <[EMAIL PROTECTED]>  |    \\\'',)      The
| [EMAIL PROTECTED] 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

Reply via email to