# PHP - form won't pass the variable

**URL:** <https://forum.kirupa.com/t/php-form-wont-pass-the-variable/105981>\
**Category:** Uncategorized\
**Created:** [March 31, 2004, 7:51pm UTC](https://forum.kirupa.com/t/php-form-wont-pass-the-variable/105981 "2004-03-31T19:51:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![imagined](https://avatars.discourse-cdn.com/v4/letter/i/a87d85/32.png) [@imagined](https://forum.kirupa.com/u/imagined)\
**Post date:** [March 31, 2004, 7:51pm UTC](https://forum.kirupa.com/t/php-form-wont-pass-the-variable/105981/1 "2004-03-31T19:51:27Z")

</div>

Ok, i know this may sound super dumb. But I ran into a problem and simplied the code. I have checked it again and again and just can’t find WHY is it that doesn’t work. Please help.

I have this simple form:

\<form action=“tester.php” method=“post”\>  
Your Name: \<input type=“text” name=“firstname”\>  
\<input type=“submit” value=“go”\>  
\</form\>

and then i have tester.php

\<?php  
echo (“Your name is $firstname”);  
?\>

Why wouldn’t it work? What am I doing wrong???

PLEASE HELP:ne:  
Leo
