> Where do you get that from?
Probably from not trying it before I open my mouth. I must
have dreamed it somewhere, sorry :)
J
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> > You need to explode() $line.
>
> Won't that still cause problems for him, since explode() will
> ignore concurrent separators ()?
Where do you get that from?
$a = "a|b|||c||d";
$b = explode("|",$a);
print_r($b);
Array
(
[0] => a
[1] => b
[2] =>
[3] =>
[4] => c
> You need to explode() $line.
Won't that still cause problems for him, since explode() will
ignore concurrent separators ()?
Jason
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Friday 07 March 2003 12:51, WebDev wrote:
> the code only displays the 10 random line numbers
> somehow again the arrays are empty, tried all tricks to see if arrays are
> carrieng anything but the are all empty
> $dreidrei, $dreivier, $dreifunf, $dreisechs ) = ($line);
You need to explode() $
the code only displays the 10 random line numbers
somehow again the arrays are empty, tried all tricks to see if arrays are carrieng
anything but the are all empty
data file loks like :
123|name|LastN|City|Country|||etc|etc|
124|names|lastN|||etc||etc|
could somebody please find the error, thank
5 matches
Mail list logo