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
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.
: 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
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
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
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
]
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
$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
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
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 :
-
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,
11 matches
Mail list logo