1

I want my form to have an input type file and submit on the same line. How to do this?

This is my code :

<center>
    <form class = "search" action = "regex.php" method = "POST" enctype = "multipart/form-data">
        <input type = "file" name = "file_upload" />
        <input type = "submit"/>
    </form>
</center>

This is how it currently looks:

current image

I want to be like this, instead:

picture sample that i want

2

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.