What gives with this simple PHP array?

  • Thread starter Thread starter merlot7799
  • Start date Start date
M

merlot7799

Guest
The following PHP statememt:

print_r($thisclaim[$i]);

Gives me this result:

Array ( [eqi] => EQI69358 [eqiid] => 69358 [newnum] => 6100010 [lastname] => DAVIS [firstname] => PATRICIA [service_date] => 01/29/2010 )

On the next line of code, this statement:

echo $thisclaim[$i]['firstname'].' '.$thisclaim[$i]['lastname'];

Gives me a blank line.

Any ideas? $i is the same in both statments, they occur immediately following each other.
 
Back
Top