Quote:
Originally Posted by Opserty
PHP Code:
if(strlen($row[q_stepdesc]))
Shouldn't you be comparing the string length to something (like an integer)? or?
|
I believe this bit is to check whether there are any contents in the q_stepdesc (quest_stepDescription) users have a habit of just deleting the text rather than the record, so you are left with a blank description.
I'm not quite sure of the formatting on searching through results stored in an array, but i think the code above is basically checking [row number] and [q_stepdesc] on each row to see if that record has text in it, if so it will run the code that follows...which it isn't.....