Dear Team
I am creating a html form for data entry in mysql database and want to multiple rows inserted in one time when i filled a row then on enter key press a new row created automaticaly in html and php for more entering data so how is this possible please help me with example

Recommended Answers

All 2 Replies

What you're really talking about is a client side event so its better done in javascript/jquery.

Capture the enter key being pressed and use jquery to append the HTML for the new row to the end of div it appears in.
jQuery append example

not sure if this will help, but there is no harm in sharing.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.