I have a problem making PHP work to its full. i have installed php 5.x version, apache 1.3.x ver and mysql 3.x version
all of them are working fine. i have a problem....
when i pass any hidden variable within a form like in the code below
<?
if ($chk == "yes")
{
echo "hi";
}
?>
<form>
<input type="hidden" name="chk" value="yes">
<input type="submit" value="submit">
</form>
now, when i press this submit button, instead of getting "hi" as the output, i get an error which reads as
undefined variable "chk"
i tried to solve this problem many a times, but cant. i even reinstalled php...but that did not solve the purpose....
can anybody help me... please..
thanks in advance....
vijay koul