Re: [PHP] Concatenate PHP code into a string

2004-06-28 Thread Michal Migurski
Dear List, How can I include a dynamically generated array: e.g. for($i=0; $isizeof($cols); $i++) { $cols[$i]= mysql_field_name($fields,$i); } into a MySQL insert query of the type: -snip- /** {{{2 * create an INSERT or UPDATE query based on values of an associative

Re: [PHP] Concatenate

2003-06-30 Thread Derick Rethans
On Mon, 30 Jun 2003, Ryan Vennell wrote: how can i concatenate two strings? i cant seem to find the function... thanks :) With . Derick -- Interpreting what the GPL actually means is a job best left to those that read the future by examining animal entrails.

Re: [PHP] Concatenate

2003-06-30 Thread Chris Sherwood
: Monday, June 30, 2003 8:32 AM Subject: Re: [PHP] Concatenate On Mon, 30 Jun 2003, Ryan Vennell wrote: how can i concatenate two strings? i cant seem to find the function... thanks :) With . Derick -- Interpreting what the GPL actually means is a job best left to those

Re: [PHP] Concatenate

2003-06-30 Thread Philip Olson
how can i concatenate two strings? i cant seem to find the function... thanks :) Read this: http://www.php.net/manual/en/language.operators.string.php And then this: http://www.php.net/manual/en/language.types.string.php Regards, Philip -- PHP General Mailing List

Re: [PHP] concatenate?

2001-08-29 Thread Bopolissimus Platypus
On Tue, 28 Aug 2001 16:34:44 +0100, [EMAIL PROTECTED] (Seb Frost) wrote: $string0 = hello; $string1 = goodbye; $string2 = $string0 . and . $string1; result:$string2 = hello and goodbye also, $string2=$string1 and $string2; i'm not sure if there are subtleties there that make this

Re: [PHP] concatenate?

2001-08-29 Thread Soeren Nielsen
does anyone know of a scenario (perhaps involving non-string data) where the concatenation does not return the same answer? If you have three vars: $user = foo; $users = array(Peter,Michael); This could be a problem: echo $users hair is brown; if what you ment was: echo $string.s hair is

Re: [PHP] concatenate?

2001-08-29 Thread Andrey Hristov
] Sent: Wednesday, August 29, 2001 3:46 PM Subject: Re: [PHP] concatenate? does anyone know of a scenario (perhaps involving non-string data) where the concatenation does not return the same answer? If you have three vars: $user = foo; $users = array(Peter,Michael); This could

RE: [PHP] concatenate?

2001-08-28 Thread Seb Frost
$string0 = hello; $string1 = goodbye; $string2 = $string0 . and . $string1; result:$string2 = hello and goodbye - seb -Original Message- From: Jeremy Morano [mailto:[EMAIL PROTECTED]] Sent: 28 August 2001 16:28 To: [EMAIL PROTECTED] Subject: [PHP] concatenate? Hello, I

RE: [PHP] concatenate vars?

2001-02-23 Thread PHPBeginner.com
PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: W.D. [mailto:[EMAIL PROTECTED]] Sent: Friday, February 23, 2001 5:38 AM To: Philip Olson Cc: [EMAIL PROTECTED] Subject: Re: [PHP] concatenate vars? Thanks, do you know if making multiple statements to er

Re: [PHP] concatenate vars?

2001-02-22 Thread Philip Olson
I need to combine two variables which are set to two form field values and will be put into $from of mail(). Should it be $from = "$varOne . $varTwo" ? Check out : Using Strings : -

Re: [PHP] Concatenate a variable.

2001-02-15 Thread Fabian Fabela
Sorry I know the answer now. Thank you Fabian Fabela From: "Fabian Fabela" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, February 15, 2001 3:30 AM Subject: [PHP] Concatenate a variable. Hello. I receive from a post T1, T2, T3, ... Tn I want to put then in an array with a for,