Converting to a string

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

 



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.

[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