PHP form 50: input text textarea checkbox

github logo Updated on ・1 min read

Happy Coding


    <form method="post" action="process.php" >

        Firstname: <input type="text" name="firstname" />
        <br />

        Lastname: <input type="text" name="lastname" />
        <br />

        Description: <textarea name="description" rows="10" cols="50"></textarea>
        <br />

        Hobby: <input type="checkbox" name="hobby" value="studying" /> Studying
        <br />

        <hr />

        <input type="submit" name="submit" value="Submit" />



echo "<pre>";


Demo repl.it

Thank for reading :)

twitter logo DISCUSS
Classic DEV Post from Mar 20 '19

JavaScript predictions for 2019 by npm

npm, Inc., which runs the world’s biggest software registry has shared some very interesting read about insights and predictions about JavaScript for 2019

Falah Al Fitri profile image
I am Developer