Jump to content

html form not working?!?!?!


physaux

Recommended Posts

Hey, I am using php to print out the html code to make a form..

It appears, but when I click the button nothing ever happens, doesn't go to my "action" page at all

copied html code:

<form action="index.php" method="post">
<input type="text" name="text1" id="text1" />
<input name="asd" type="text" maxlength="50" />
<input name="jhb" type="checkbox" value="" />
<input name="hjblk" type="checkbox" value="" />
<input name="lin" type="button" value="hjkkjk" />
</form>

 

 

the file this text is on is NOT index.php, it IS test.html

 

I can't see what is wrong with this!!! :shrug::confused: :confused: :confused::wtf:

 

anyone see anything?

 

-I'm using XAMPP, and firefox..

 

EDIT: ahhh type was not "submit"... stupid thing..

Link to comment
https://forums.phpfreaks.com/topic/182215-html-form-not-working/
Share on other sites

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.