Jump to content

how to use <form> as link?


derrick1123

Recommended Posts

$id = 1;
echo "<form method='POST' action='update.php'>";
echo "<input type='text' name='id' size=30><br>";
echo "<input type='submit'' type='text' value='$id'>";
echo "</form>";

 

I need to make 1 (id number) just an html link that will post to update.php...

Would something like this work?

Link to comment
https://forums.phpfreaks.com/topic/97264-how-to-use-as-link/
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.