RSS Forums RSS
Please support our PHP advertiser: Lunarpages PHP Web Hosting

Creating a new array dynamically for checkboxes?

Join Date: Jul 2007
Posts: 8
Reputation: MB1765 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
MB1765 MB1765 is offline Offline
Newbie Poster

Re: Creating a new array dynamically for checkboxes?

  #5  
Jul 22nd, 2007
I think I experinced your problem, so try my remedy :
1st define a variable ase name of your checkbox
2nd assign what else that pulled out ... to that varialbe, thus you have a check box which has different name depending on what the user chooses.
like this:

$query = select * from ... ;
$result = mysql_query( $query, "sqlLink" );
$getResult = mysql_fetch_array( $result );

name = $getResult["..."];

I hope it helps to you
Reply With Quote  
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 5:44 am.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC