Jump to content

Help with a simple PHP contact from


skelasubhan

Recommended Posts

Not sure this is the right plan. But I need help creating a PHP script for my web from. I think I may have some error in the HTML. Because I tried using one of those php form builder but it's not working. If anyone can help, it would be a huge help. Thanks.

 

HTML:

<form id="form1" action="index.php" method="get" enctype="multipart/form-data" name="form1">

<form name="form1">

<div class="form"><input type="text"></div>

<div class="form"><input type="text"></div>

<div class="form"><input type="text"></div>

<div class="form"><input type="text"></div>

<textarea rows="40" cols="50"></textarea><br>

<br style="line-height:14px">

<img alt="" src="images/a2.gif" style=" margin-right:10px"><strong><a href="#" onClick="document.getElementById('form1').reset()">clear</a></strong>

<img alt="" src="images/a2.gif" style="margin-left:16px; margin-right:10px"><strong><a href="#" onClick="document.getElementById('form1').submit()">submit</a></strong>

</form>

 

Link to comment
https://forums.phpfreaks.com/topic/84797-help-with-a-simple-php-contact-from/
Share on other sites

you need to learn html first you got to forms delete the 2nd one then trie.....

 

have a look at a proper formated form your missing the form name and value

 

<form enctype="multipart/form-data" action="uploader.php" method="POST">

<input type="hidden" name="MAX_FILE_SIZE" value="100000" />

Choose a file to upload: <input name="uploadedfile" type="file" /><br />

<input type="submit" value="Upload File" />

</form>

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.