i have a database call pulling 2 fields,
ID and Total, and a total of 3 rows :-
ID TOTAL
1 45
2 32
3 42
How can i write the results into an array that i can use in my php scripts ?
i have been creating a loop with appends to the last record so i have a string like :-
$string = "1 >= 45, 2 >= 32, 3 >=45";
but i cannot get this to be seen as an array
if i call any info from the error ie sizeof or maxval i just get ARRAY
any ideas ???