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; $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 array, * whe

[PHP] Concatenate PHP code into a string

2004-06-28 Thread abrea
Dear List, How can I include a dynamically generated array: e.g. for($i=0; $ihttp://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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 (http://www.php.ne

Re: [PHP] Concatenate

2003-06-30 Thread Chris Sherwood
EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: 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 > >

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

[PHP] Concatenate

2003-06-30 Thread Ryan Vennell
how can i concatenate two strings? i cant seem to find the function... thanks :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] concatenate?

2001-08-29 Thread Andrey Hristov
Produces : alalabas here Produces : Arrays here Andrey Hristov IcyGEN Corporation http://www.icygen.com 99% - Original Message - From: "Soeren Nielsen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 29, 2001 3:46 PM Subject: Re: [PHP] c

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

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

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: [EMA

[PHP] concatenate?

2001-08-28 Thread Jeremy Morano
Hello, I was just wondering if there was a simple function like str_con or something like that to concatenate strings? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrat

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 eregi

Re: [PHP] concatenate vars?

2001-02-22 Thread W.D.
Thanks, do you know if making multiple statements to eregi in line 3 is possible? 1. if(...something...) 2.{ 3. (eregi("stuff1", $one)("stuff2", $two)("stuff3", $three)) ? 4. do something : do something else; _ Do You Yahoo!? Get

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

[PHP] concatenate vars?

2001-02-22 Thread W.D.
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" ? also a way to make if(.something) (eregi("blah", $one)("blah2", $two)("blah3", $three));

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

[PHP] Concatenate a variable.

2001-02-15 Thread Fabian Fabela
Hello. I receive from a post T1, T2, T3, ... Tn I want to put then in an array with a for, how can I do that? How can I use $T$i ??? Thank you Fabian Fabela [EMAIL PROTECTED] www.vacagorda.com