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
2 Posted Topics
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()); …
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.
The End.
muhammadsajid