PHPLover
PHPLover

Reputation: 12957

What happens if action=""?

This is my code snippet from smarty template. I'm not understanding where does data go after clicking on submit button? can any one help me out. Thanks in advance.

<form action="" name="manage_News" method="post" enctype="multipart/form-data">  
    |
    |
    |
    |
    |
<input type="submit" name="submit" value="{$submit_value}" class="submit" />
</form>

Upvotes: 0

Views: 81

Answers (1)

bidifx
bidifx

Reputation: 1650

The request is sent to the current url. i.e. the page that displays the form.

Upvotes: 3

Related Questions