forms

From: Date: Wed, 03 Jan 2001 14:50:17 +0000
Subject: forms
Groups: php.windows 
Request: Send a blank email to php-windows+get-4750@lists.php.net to get a copy of this message
Hi, I have a form that has three checkboxes. A,B&C. Data from A & C has been entered into the database by serializing it. I now want to create a edit form where the user can view his choices ticked. <form action="postoDb.php"> A<input type="checkbox" name="Choice[]" value="A"> B<input type="checkbox" name="Choice[]" value="B"> C<input type="checkbox" name="Choice[]" value="C"> </form> //postodb.php $bn = serialize($Choice); sql ="insert into table (choice) values('$bn')"; ....... thanks, Jason

« previous php.windows (#4750) next »