Can anybody tell me how can we create a form in PHP without a submit button? There must be no use of JavaScript. Can anyone help me?
If you don't need a submit button just don't place <input type="submit"> tag. Form can be submitted by pressing Enter in text field. If you need more complex behaviour you should use javascript or maybe flash.
Try <body onload="form1.submit();"> <form name="form1"> </form> </body> But this uses javascript anyway;
Once the browser has the page and the visitor is looking at that page, things are completely out of PHPs' control. It is not possible to auto-submit a form without Javascript in some shape or form, period.