I've used the search and spent several days in the manual... mabey I'm just inept. Any what I'm trying to do is get a field from MySQL. The field is a list of values seperated by :'s (not /etc/passwd 😛), and I need to split it into elements of an array. Here's the code I'm currently trying to do it with:
$row = mysql_fetch_array($result);
$cards = explode(":", $row);
for($currcard = 0; $currcard < count($cards); $currcard++) {
echo($cards[$currcard] . "<BR>");
}
but it seems mysql_fetch_array returnes the string "Array"?!
I can't figure it out :/
Has anyone else had the same problem?