Log in

View Full Version : Storing Checkbox Data



resilient
02-15-2009, 01:30 AM
Hi all,

I found this wonderful tutorial on how to store checkbox data in SQL, but I can't seem to get it working. I think the program isn't getting anything when it tries to run the while loop (below). Can someone have a look and confirm my suspicion? Also, how would I correct this problem?

while($row = mysql_fetch_object($qid)) {
array_push($arr, $row);
}

Here's the tutorial: http://www.phpbuilder.com/columns/laflamme20001016.php3?print_mode=1

Thanks!

resilient
02-15-2009, 05:35 PM
fixed it! everything is alright with the script... just had a problem with mysql connection code.