Hi all
I'm having a strange array problem. I'm pulling variables from a database and putting the values in arrays. One set of values are pure numbers. This array works fine. My second set of values are a mixture of numbers and letters. This second array just returns values of 0.
Example of the "$code" values:
D045RND
D055RND
Code:
while($row = mysql_fetch_row($connect->result))
{
$price[] += $row[0];
$code[] += $row[1];
}
For instance, when I echo $code[0] it comes up as 0. The same goes for every iteration of $code[] ($code[1], $code[2], $code[3] etc).
Any help would be greatly appreciated ;)