I'm kind of thinking aloud here, having tried this for a while (luckily I think in paragraphs).
The very basics are that if I want to display within a php page, a list of information retrieved from a mysql db, I simply do:
while ($newArray = mysqli_fetch_array($res, MYSQLI_ASSOC)) {
$things_in_the_column_name = $newArray['the_column_name'];}
Instead of listing a column of 0's and 1's, I would like to display either unticked or ticked boxes. In an idea world an idiot like me would be able to write something like:
while ($newArray = mysqli_fetch_array($res, MYSQLI_ASSOC)) {
$things_in_the_column_name = $newArray['the_column_name']
IF ($things_in_the_column_name) ? value='1' then untick : value='0' then tick;}
sadly I'm still very new at this, but it's just another hurdle to jump, I'm at least getting used to reading the scripts.