# Php form vs Html form?

**URL:** <https://forum.kirupa.com/t/php-form-vs-html-form/223895>\
**Category:** Uncategorized\
**Created:** [April 26, 2007, 2:48pm UTC](https://forum.kirupa.com/t/php-form-vs-html-form/223895 "2007-04-26T14:48:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Utech22](https://avatars.discourse-cdn.com/v4/letter/u/f17d59/32.png) [@Utech22](https://forum.kirupa.com/u/Utech22)\
**Post date:** [April 26, 2007, 2:48pm UTC](https://forum.kirupa.com/t/php-form-vs-html-form/223895/1 "2007-04-26T14:48:25Z")

</div>

What is the pro and con with these two?  
Which is better to use?  
The two of them are the same

```auto
 
<form method='post' action="create_entry.php">
<b>Email: </b><input type="text" name="email" size="40" /><br />
<b>Home Page Url: </b><input type="text" name="url" size="40" /><br />
<b>Comments: </b><textarea name="comments" cols="40" rows="4" wrap="virtual"> </textarea><br />
<input type="submit" name="submit" value="Sign" />
<input type="reset" name="reset" value="Start Over" />
</form>

```

```php
 
echo "<form method='post' action='create_entry.php'>";
echo "<b>Email: </b><input type='text' name='email' size='40' /><br />";
echo "<b>Home Page Url: </b><input type='text' name='url' size='40' /><br />";
echo "<b>Comments: </b><textarea name='comments' cols='40' rows='4' wrap='virtual'> </textarea><br />";
echo "<input type='submit' name='submit' value='Sign' />";
echo "<input type='reset' name='reset' value='Start Over' />";
echo "</form>";  

```
