troubleshooting Question

Insert multiple checkbox values data from XML to MySQL

Avatar of rhiannon1
rhiannon1 asked on
MySQL Server
1 Comment1 Solution339 ViewsLast Modified:
I have displayed information from an xml file with the following code and would like to save the items selected from the checkbox to the database using PDO if possible. Any advice please
foreach ($root->channel->item as $article) {
   	echo "<input type='checkbox' name='checkb' id='checkb'"."<br />\n";
	echo "<a href='".$article->link."'>".$roo->title."</a><br />";
	echo "<b>Link:</b> ".$article->link."<br />\n";
	echo "<b>PubDate:</b> ".$article->pubDate."<br />\n";
	echo "<b>Description</b> ".$article->description."<br />\n<p><hr>";
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 1 Comment.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 1 Comment.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros