Re: [PHP] function for string to array (map)?

2004-06-18 Thread Dascalu Marius
- 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

Re: [PHP] Function expects string but receiving array Warming??

2002-09-03 Thread Justin French
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)

Re: [PHP] Function expects string but receiving array Warming??

2002-09-03 Thread Chris Wesley
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

Re: [PHP] Function expects string but receiving array Warming??

2002-09-03 Thread Jean-Christian Imbeault
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()

Re: [PHP] function into string

2001-08-07 Thread Tom Carter
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

Re: [PHP] function into string

2001-08-07 Thread Renze Munnik
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