:
***
$i=0;
while($i
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 19, 2001 1:13 AM
Subject: [PHP] checkbox validation
Hi all
I have a form with the checkbox like this
$query="select id from foo";
$result=($query,$con);
while ($row = mysql_fetch_array($result))
{
}
s
Jacky wrote:
>
> Hi all
> I have a form with the checkbox like this
>
> $query="select id from foo";
> $result=($query,$con);
> while ($row = mysql_fetch_array($result))
> {
>
> }
> submit button and stuffs here...
>
One possibility:
Add a hidden field in the form and write al
> After I submit to next page, at next page, how do I check which
> check box is checked?
> like this?
>
> if ($id=="on") {
> do something
> }else{
> do something
> }
Hi
try this assuming you have no toher check boxes called $id
if(isset($id))
{
do something
}else{
do other
}
M@
--
P
Hi all
I have a form with the checkbox like this
$query="select id from foo";
$result=($query,$con);
while ($row = mysql_fetch_array($result))
{
}
submit button and stuffs here...
After I submit to next page, at next page, how do I check which check box is checked?
like this?
i
4 matches
Mail list logo