[PHP] foreach help in search

2003-08-14 Thread Ryan A
Hi, I have a search page that is working perfectly so far and i have paginated it, the problem is the "next" page is giving me a slight problem. I am sending around 30 parameters via a $_GET and the "next" page must get the same parameters with the $page+1...instead of doing it manually I have tri

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

[PHP] foreach help

2003-07-30 Thread Ryan A
Hi, I have a set of checkboxes (around 38) which will be sent to me via a post(eg: http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

[PHP] Foreach ...... Help

2002-11-06 Thread Remon Redika
I am Newbie in PHP My Problem It's Too Hard to Explain but i'll try its.. I have Two Text Fields The First Text Field i call it "InputX", the amount of InputX is Constant, and The Second Text Field I Call it "InputY", Generatable Field I have the Button usefull for Generated "InputY" (so If I C