User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the PHP section within the Web Development category of DaniWeb, a massive community of 397,533 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,655 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our PHP advertiser: Lunarpages PHP Web Hosting

inserting checkbox values in mysql +PHP

Join Date: Oct 2007
Posts: 6
Reputation: amin007 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
amin007 amin007 is offline Offline
Newbie Poster

Solution Re: inserting checkbox values in mysql +PHP

  #40  
Feb 15th, 2008
if(isset($_POST['team']))
{ 
	foreach($_POST['team'] as $value)
	{
	$insert="INSERT INTO team('team')VALUES ('$value')";
	echo "$insert<br>";
	}
}

are you want to do like this???
Reply With Quote  
All times are GMT -4. The time now is 2:45 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC