Yes,you are right I visited the
http://stackoverflow.com/users/218196/felix-kling
and i found my problem and solved it
On 28 May 2011 at 14:11, Igor Konforti wrote:
> It means that array $_POST does not have a key called "negin".
> Simple If statement before line 4 would fix this.
> On Sat, May 28, 2011 at 16:03, Negin Nickparsa wrote:
>> suppose that i have this SIMPLE code:
>> > echo"";
>> echo $_POST['negi
It means that array $_POST does not have a key called "negin".
Simple If statement before line 4 would fix this.
And I agree with @Jasper Mulder. Perhaps you should try
stackoverflow.comfor this kind of questions
Regards
On Sat, May 28, 2011 at 16:03, Negin Nickparsa wrote:
> I'm sorry tha
I'm sorry that I disturbed you and the List,I tried hard to mind my
punctuations but my English has weaknesses you can understand from my
posts,one time I apologized..
No my problem is not with these punctuations i know them
I said for example,I mean in general
suppose that i have this SIMPL
> Date: Sat, 28 May 2011 16:39:13 +0430
> From: nickpa...@gmail.com
> To: l...@mit-web.dk
> CC: php-general@lists.php.net
> Subject: Re: [PHP] how to use echo checkboxes in php when i don't have access
> to $_POST
>
> becaus
because when the name is in echo it can't access to $_POST
4 example $_POST['p$i']
it tells me undefined variable p$i
when in html we write it in form because it has post method it can set
$_POST but here in php i just echo it and i can't access it
maybe i am wrong but how can i correct it?
lør, 28 05 2011 kl. 13:32 +0430, skrev Negin Nickparsa:
> because I echo the checkboxes like this:
>
> if($num>0)
> {
> echo "";
> for($i=0;$i<$num;$i++)
> {
> $row=mysql_fetch_row($result);
> echo "";
> echo"";
> echo"$row[0]";
> echo"";
> }//for
> echo"";
> }//if
>
> i can't use $_POST because
because I echo the checkboxes like this:
if($num>0)
{
echo "";
for($i=0;$i<$num;$i++)
{
$row=mysql_fetch_row($result);
echo "";
echo"";
echo"$row[0]";
echo"";
}//for
echo"";
}//if
i can't use $_POST because it's not in html
how can i insert my items that are checked into table?
8 matches
Mail list logo