Post and Get are not working, please help

Hi
I have set up php mysql and apache server by installing XAMPP on my pc which is windows xp sp2. And trying to get the following code run but i am not getting the variables through the post or get why, please help me.
Thanks in advance.

my code:
<body>
<H2>Search Results</H2>
<BR>
<FORM ACTION=“result.php” METHOD=“POST”>
Enter name, or part of the name, of the shops you wanted:
<BR>
<INPUT NAME = “name” TYPE = TEXT>
<BR>
<INPUT TYPE= SUBMIT VALUE=“Search”>
</FORM>
</body>

php page code: result.php

<?
echo $_POST['name'];
?>

I tried every thing like $_REQUEST[‘name’] and http_Post_var
but nothing is working when i click on a submit, it displaying a blank page why? where is the problem; actually i want to use that passing variable from first page for some kind of validations in the current page but it’s not working. Any help will be greatly appreciated.

Hi friend, it’s working now. thanks for your reply. Actually i restarted every thing.

I tried that one also but no use. and it’s allowing even short tags there was no problem with normal code i.e.,

<?
echo "Hello World";
?>

it works fine for the above code. but only the problem comes when need to pass using GET or POST of a <FORM>.

Are you sure your server allows short tags (<? ?>)?

try this instead:


<?php
echo $_POST['name'];
?>