# How to echo a $\_POST with a blank space

**URL:** <https://forum.kirupa.com/t/how-to-echo-a--post-with-a-blank-space/257046>\
**Category:** Uncategorized\
**Created:** [April 9, 2008, 7:26pm UTC](https://forum.kirupa.com/t/how-to-echo-a--post-with-a-blank-space/257046 "2008-04-09T19:26:35Z")\
**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:** [April 9, 2008, 7:26pm UTC](https://forum.kirupa.com/t/how-to-echo-a--post-with-a-blank-space/257046/1 "2008-04-09T19:26:35Z")

</div>

There is a database I imported from Access and converted it to MySQL. There are column names with spaces. I created a function that you give it the column names and automatically created a form. Well, when trying to echo a $\_POST with a space, for example, $\_POST[“EMP ID”] it does not echo.

I created a test page to try and analyze this problem in a simple way:

```php

<form method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>" enctype="multipart/form-data" name="testform" >
<input type="text" name="test ing" />
<input type="hidden" name="process" value="1" />
<input type="submit" value="click!" />
</form>
<?php
if($_POST['process']==1)
{
	echo $_POST['test ing'];
}
?>

```

So, how can I echo a $\_POST with a space?
