Code: Select all
$goods[1]="";
$goods[2]="";
$goodnum[1]=0;
$goodnum[2]=0;
$price[1]=0;
$price[2]=0;
I could have sworn I've used arrays like this in PHP before and it's been fine...
Can anyone help me out - I just need a short array since latter in the code I have a very short for loop do the same thing twice, but with two different sets of data. Thanks!