Topic awaiting preservation: PHP: undefined index error using error_reporting(E_ALL); |
|
---|---|
Author | Thread |
Paranoid (IV) Inmate From: 127.0.0.1 |
posted 09-24-2005 00:08
Greetings! I've cranked up error_reporting using error_reporting(E_ALL); and I've resolved all issues except one. I seem to be getting: code: $sql = "update psor_offenders set latitude = '" . $mapData[0]['lat'] . "', longitude = '" . $mapData[0]['long'] . "' where id = '$rows[id]'"; if ($mapData[0]['lat'] != '' && $mapData[0]['long'] != ''){
code: $mapData = ''; higher up, but that didn't resolve it. I tried single quoting the 0, but that didn't help either. The $mapData items DO have value.... |
Paranoid (IV) Mad Scientist with Finglongers From: Germany |
posted 09-24-2005 09:34
You're accessing map data as an array of arrays. |