Re: [PHP] foreach help in search

2003-08-14 Thread Ryan A
Hi, thanks for replying, I am not very good with the "list" function thats why i use foreach instead. My new problem is that i also have to take out the PHPSESSID if it exists and its value otherwise i am getting 2 PHPSESSID's in my url...how can i do that with your sample code? Thanks, -Ryan >

Re: [PHP] foreach help in search

2003-08-14 Thread Jason Wong
On Tuesday 12 August 2003 06:07, Ryan A wrote: > thanks for replying, I am not very good with the "list" function thats why > i use foreach instead. > My new problem is that i also have to take out the PHPSESSID if it exists > and its value otherwise i am getting 2 PHPSESSID's in my url...how can

Re: [PHP] foreach help

2003-07-31 Thread jan
Hi try this: html code for all of checkboxes: php code: if(isset($_POST['ch_box'])) { foreach($_POST['ch_box'] as $ch_box_id => $ch_box_value) { processing instructions } } Regards Jan On Thu, 2003-07-31 at 03:50, Ryan A wrote: > Hi, > I have a set of checkbo

Re: [PHP] foreach help

2003-07-30 Thread Evan Nemerson
Well you could do foreach ( $_POST as $var ) ${$var} = ( isset($_POST[$var]) ? 1 : 0); but that's really sloppy. If possible, I'd go more for something like $vars = Array( 'noPlatform', 'littlePlatform', 'lotsaPlatform', 'yoMommasaPlatform'); foreach ( $v

RE: [PHP] Foreach ...... Help

2002-11-06 Thread Jon Haworth
Hi Remon, > I try this script with php, but i found an Error. It would be helpful if you could show us this error message. > $vary(100); At the very least, you should change this line to $vary = array(); Cheers Jon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: h