players
will either be unfilled or a comma-isolated list (or a single value). What is the least demanding approach to check if it's empty? I'm expecting I can do as such when I bring the
$gameresult
array into
$gamerow
? For this situation it would most likely be more productive to skip exploding the $playerlist if it's blank, however for contention, how might I check if an array is empty too?
$gamerow = mysql_fetch_array($gameresult);
$playerlist = explode(",", $gamerow['players']);