At 7:33 AM -0500 1/23/01, Brian Clark wrote:
>Hello Matt,
>
>(MW == "Matt Williams") [EMAIL PROTECTED] writes:
>
>MW> $query_string = split("+",$search);
>
>$query_string = explode('+', $search);
>
>-Brian
>
Just to explain the error -
split() takes a regular expression for its first argument;
Hello Matt,
(MW == "Matt Williams") [EMAIL PROTECTED] writes:
MW> $query_string = split("+",$search);
$query_string = explode('+', $search);
-Brian
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTE
Hi
I'm trying to split a string into an array but keep getting the following
message:
Warning: unexpected regex error (13) in z:/www_root/staff.php on line 34
The code is just
$query_string = split("+",$search);
where $search is from a form.
Any clues??
TIA
M@
--
PHP General Mailing Lis
3 matches
Mail list logo