hi
i have a form like as this:
<form id="form1" name="form1" method="post" action="">
<input type="submit" name="submit" id="button" value="send" />
<input type="text" name="T1" id="T1" />
<?
extract($_POST);
if (!empty($submit)) {
echo $T1;
}
?>
</form>
echo in this php code works when a user put data in text input and click on submit button with mouse, but when a user put data in text input and click on "Enter" with keyboard then php code doesnot working.
any help?