I have been following a tutorial on how to have an image gallery dynamically generate columns.
I have came across this line of code and i don't know what it does:
Code: Select all
$numImages = substr($row['thumb'],3) > 1 ? substr($row['thumb'],3) . ' images' : substr($row['thumb'],3) . ' image';Any help would be appreciated!!!
Thanks,
C