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
>
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
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
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
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
5 matches
Mail list logo