# Wtf is going on?

**URL:** <https://forum.kirupa.com/t/wtf-is-going-on/35655>\
**Category:** Uncategorized\
**Created:** [November 16, 2003, 4:14pm UTC](https://forum.kirupa.com/t/wtf-is-going-on/35655 "2003-11-16T16:14:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sanman918](https://avatars.discourse-cdn.com/v4/letter/s/c89c15/32.png) [@sanman918](https://forum.kirupa.com/u/sanman918)\
**Post date:** [November 16, 2003, 4:14pm UTC](https://forum.kirupa.com/t/wtf-is-going-on/35655/1 "2003-11-16T16:14:09Z")

</div>

Ok for some reason this stupid thing wont work. Its a simple test this is what I have. I have 2 files, test.html and test.php  
this is what I have in my HTML file. Its a form that takes on textbox  
\<html\>  
\<head\>  
\<title\>Hehe\</title\>  
\</head\>  
\<body\>  
\<form method= “post”  
action = “test.php”\>  
\<input type = “text”  
name= “test”  
value = “”\>  
\<input type = “submit”\>  
\</form\>  
\</body\>  
\</html\>

Ok and this is what I have in my PHP,  
\<html\>  
\<head\>  
\<title\>Hehe\</title\>  
\</head\>  
\<body\>  
\<?  
print “\<h1\>$test\</h1\>”;  
?\>  
\</body\>  
\</html\>

WHy is it not printing my variable? Its like not communicating at all. I have a lot more complex code and it didn’t work so I tried this and it still wont work. Im a noobie to PHP and I have no idea why its not working. It is uploaded to the server which supports PHP.
