Ask about general coding issues or problems here.
3 posts • Page 1 of 1
here is a piece of code for the php part. I assume here that we have 3 option values and I have put a textbox to get the value for the input. The code in PHP goes like:
Code: Select all
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<form name="form1" method="post" action="put.php">
<input name="c1" type="text" id="c1">
<?php echo("<option>".$c1."</option>") ?>
<input type="submit" name="Submit" value="Submit">
Every time the user inputs a value in the textbox and then presses the button he gets a reload and update event.
Hope it helps,
Who is online
Users browsing this forum: No registered users and 5 guests