the following is how I create an array:
$i = 0;
foreach ($lpage as $line){
$line = trim($line);
if (preg_match("/^<a href=\"..\/apps\/v/", $line)){
$arySearch[$i][domain] = strip_tags($line);
$count = 0;
$next = true;
}//?(preg_match("/^<a href=\"..\/apps\/v/", $line))
if ((preg_match("/^<td><font size=2>/", $line)) && ($next)){
$count = $count + 1;
switch ($count){
case 1:
$arySearch[$i][ip] = strip_tags($line);
break;
case 2:
$arySearch[$i][host] = strip_tags($line);
break;
case 4:
$arySearch[$i][username] = strip_tags($line);
break;
}//switch(count)
}//?((preg_match("/^<td><font size=2>/", $line)) && ($next))
$i++;
}//foreach ($lpage as $line)
==========================================
I know that the values get in there, now.. how would I get them back out?
my goal is to echo domain...udername in a table row, and the next set in the next table row.. etc.. etc..
$arySearch[$1][-whatever-] seems not to work..?
:Figment