- Original Message -
From: Pete Forman [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, June 17, 2004 7:22 PM
Subject: [PHP] function for string to array (map)?
Is there a standard function that converts a string to an array with
proper keys, not auto generated integers? I've
You are trying to set a header() using methods not supported. But the
really interesting bit is that you appear to be using it NOT for sending
HTTP headers, but for setting header information on a TABLE
read http://php.net/header
...this isn't what it does.
?
function header_row($values)
On Tue, 3 Sep 2002, Jean-Christian Imbeault wrote:
Warning: header() expects parameter 1 to be string, array given in
/www/htdocs/jc/administration/edit_products/show_products.php on line 96
How can I fix my code to get rid of this error (while keeping the var as
an array)?My code looks
Justin French wrote:
But the
really interesting bit is that you appear to be using it NOT for sending
HTTP headers, but for setting header information on a TABLE
Oops!!
I had defined my own function called header() without even stopping to
think there was already a PHP header()
Try readin the manual before posting.. all you want is the string
concatenation operator .
PHP is weakly typed so no direct conversion is needed
echo balalala . trim(odbc_result($result_id,3)) . aasasasas
Sorry for the dummies question, but how do I insert into string like:
echo balalala
On Tue, Aug 07, 2001 at 02:30:31PM +0200, Veniamin Goldin wrote:
Sorry for the dummies question, but how do I insert into string like:
echo balalala
how to insert function in the midle like :
echo balalala [trim(odbc_result($result_id,3))] aasasasas
Thank you.
How about:
echo
6 matches
Mail list logo