Hello !
How can i submit a form but remain on the same page :

<form enctype="multipart/form-data" method="post" action="script.php">

-----
</form>

it goes to script.php

thank you.

Simply change the action attribute to the same page like:

<form method="post" action="#">

or:

<form method="post" action="<?php echo __FILE__; ?>">
Be a part of the DaniWeb community

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