It works great using the foreach statements, but for some reason couldn't
make it work the other way. Oh well, no one ever said there was only one
way to do things when programming. Thanks for your help.
---
Joshua E Minnie
CIO
[EMAIL PROTECTED]
"Don't work for recognition, but always do work
Unfortunately it doesn't. That is why I am kind of puzzled by the
situation.
--
Joshua E Minnie
CIO
[EMAIL PROTECTED]
"Don't work for recognition, but always do work worthy of recognition."
"Maxim Maletsky" <[EMAIL PROTECTED]> wrote
>
> I think what yo wrote should be working fine for you.
>
I think what yo wrote should be working fine for you.
My way of your code:
foreach(file($storelist) as $line_num=>$line_data) {
foreach(explode(':', $line) as $key=>$val) {
$val = trim($val); // remove whitespaces around
// now you are inside eac
3 matches
Mail list logo