|
You never use the data where you check if active = 1... you immediately do another query $data = mysql_query("SELECT * FROM mybb_forms") overwriting data with EVERYTHING. Whats the purpose of that second query now that you have the active data?
You'll also never see the first dataset, as you pull a row, then immediately pull another row without making use of the first one.
|