Operating System - HP-UX
1834154 Members
2728 Online
110064 Solutions
New Discussion

[error] an unknown filter was not added: PHP

 

[error] an unknown filter was not added: PHP

Hi, Friends

in first place I would like to ask for excuses for my English, is bad.

well, one of my problems with php is the error reported in subject of
this menssagem.
I am not obtaining to write scripts php.example:

exam.php

$Student = array("Albert Einstein", "Ivan O Terrivel", "Napoleao", "Simon Bolivar", "Isaac Newton");
while (list(,$Name)=each($Student))
{
echo "Que nota $Name conseguiu em matematica?";
echo "

";
echo "";
echo "

";
echo "";
}
echo "";
?>
++++++++++++++++++++++++++++++++++++++++++++++++
exam2.php

while (list($Index,$Value)=each($Math))
{
$GradeStudent[]=$Math[$Index].$Student[$Index];
}
asort($GradeStudent);
while (list($Index,$Value)=each($GradeStudent))
{
echo "
$Student[$Index] - $Math[$Index]";
}
?>
it occurs that, php this not exporting the variables of exam.php to exam2.php.

how to decide this problem?
I'm using:
Apache/2.0.48 HP-UX_Apache-based_Web_Server (Unix) mod_perl/1.99_10 Perl/v5.8.0 PHP/4.3.4 DAV/2 mod_jk/1.2.3-dev

tanks...

Amilcar Moreti


2 REPLIES 2
Vijaya Kumar_3
Respected Contributor

Re: [error] an unknown filter was not added: PHP

There is a great forum out there for this kind of questions; Please ask this in

http://www.devshed.com

It is nice place to ask questions about Perl and PHP.

Thanks
vijay
Known is a drop, unknown is ocean - visit me at http://vijay.theunixplace.com
Salvi Marco
New Member

Re: [error] an unknown filter was not added: PHP

you can retrive the value of vars passed to exam2.php using the following syntax

$_POST['Math'] for the $Math var
the same is for Student