I had the parameters backwords but you get the idea.
$test = explode(",","no commas");
-Original Message-
From: Charles P. Killmer
Sent: Thursday, May 29, 2003 3:24 PM
To: [EMAIL PROTECTED]
Subject: RE: [PHP-WIN] explode...
It returns an array with one element
It returns an array with one element.
Array
no commas
-Original Message-
From: David Martinez [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 29, 2003 3:13 PM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] explode...
Here is the explode function: explode($delimiter, $string); This
function
thanks for all the reply now i get it..
Many many thanks...
^^
- Original Message -
From: "Ross Fleming" <[EMAIL PROTECTED]>
To: "KONUS" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, March 25, 2002 10:09 AM
Subject: RE: [PHP-WIN] explode
No probs.
explode is a way of splitting up a string using any character you want as
the divider. For example...
Say you wanted to split a string into individual words. $string_var = "The
cat sat on the mat";
$words_var = explode(" ", $string_var);
Explode splits $string_var by the space chara
I think hat you have a problem with the "/".
The path in the database is ok with the "/", but if you add that path, to
the local "c:\inet..." it will not work, because the "/" must be "\".
Why dont you put the field in a string variable and replace the "/" with "\"
?
Scotty.
-Mensaje origina