RE: Converting to a string

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

 



you could just use the time() or numbers of the date function

From: "PartyPosters" <sales@xxxxxxxxxxxxxxxxxx>
To: <php-general@xxxxxxxxxxxxx>
Subject: Converting to a string
Date: Wed, 23 Mar 2005 20:43:30 -0000
MIME-Version: 1.0
Received: from lists.php.net ([216.92.131.4]) by mc10-f11.hotmail.com with Microsoft SMTPSVC(6.0.3790.211); Wed, 23 Mar 2005 12:46:08 -0800
Received: from ([216.92.131.4:3752] helo=lists.php.net)by pb1.pair.com (ecelerity HEAD r(5268)) with SMTPid 6E/E2-06694-265D1424 for <dbnm@xxxxxxxxxxx>; Wed, 23 Mar 2005 15:45:22 -0500
Received: (qmail 40045 invoked by uid 1010); 23 Mar 2005 20:43:52 -0000
Received: (qmail 39914 invoked by uid 1010); 23 Mar 2005 20:43:41 -0000
X-Message-Info: JGTYoYF78jGnXCyUPttfpp6UKiZEgipk++L9rr4c6Ms=
Return-Path: <php-general-return-211408-dbnm=hotmail.com@xxxxxxxxxxxxx>
X-Host-Fingerprint: 216.92.131.4 lists.php.net Mailing-List: contact php-general-help@xxxxxxxxxxxxx; run by ezmlm
Precedence: bulk
list-help: <mailto:php-general-help@xxxxxxxxxxxxx>
list-unsubscribe: <mailto:php-general-unsubscribe@xxxxxxxxxxxxx>
list-post: <mailto:php-general@xxxxxxxxxxxxx>
Delivered-To: mailing list php-general@xxxxxxxxxxxxx
Delivered-To: ezmlm-scan-php-general@xxxxxxxxxxxxx
Delivered-To: ezmlm-php-general@xxxxxxxxxxxxx
X-Host-Fingerprint: 62.241.163.7 blaster.systems.pipex.net Linux 2.4/2.6
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
X-OriginalArrivalTime: 23 Mar 2005 20:46:08.0620 (UTC) FILETIME=[572A42C0:01C52FE9]


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");



Lots of thanks.


----- Original Message ----- From: PartyPosters To: php-general@xxxxxxxxxxxxx Sent: Tuesday, March 22, 2005 10:01 PM Subject: Passing Arrays between pages


Hello,
Please can someone tell me how you pass arrays between PHP pages.
I have tried something like this and have tried many variations of this but
nothing working yet ;



Page 1 $testArray[0] =Apple; $testArray[1] =Banana; $testArray[2] =Peach;

echo "<INPUT NAME = \"kcompany[]\" TYPE = \"hidden\" VALUE=\"$testArray\">";

  Page2
  echo $testArray[1];


On different variations of this I keep on getting 'Array' when I to return the variable on the second page


  Many Thanks.
  Kaan.

-- 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