Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #72.9K
~2K People Reached
Favorite Forums
Favorite Tags
php x 2

2 Posted Topics

Member Avatar for fariba123

Instead of id use name in ur HTML [CODE]<form method="post" action=""> <input type="checkbox" name="things[]" value="red"> Cat<br> <input type="checkbox" name="things[]" value="blue"> Mouse<br> <input type="checkbox" name="things[]" value="green"> Car<br> <input type="checkbox" name="things[]" value="yellow"> DaniWeb </form>[/CODE] And post.php [CODE]<?php $checkBox = $_POST['things']; for($i=0; $i<sizeof($checkBox); $i++){ $query = "INSERT INTO table(things) values('".$checkBox[$i]."')"; mysql_query($query) or die(mysql_error()); …

Member Avatar for bhagyashree.bhatt2
1
1K
Member Avatar for michael123

Hello, MitkOK : Your specified link: [url]http://www.hollowearth.co.uk/tech/ph...ttachments.php[/url] is expired. kindly check it & reply the solution if you know.

Member Avatar for saiprem
0
181

The End.