|
how do i make an html code run a specific php function when a button is clicked?
I have already made the below code but i only know how to run a specific .php file, not a php function.
##################
<form action="/forum/index.html" method="POST">
<input type="text" value="<?php echo "$folder_default_value" ?>" name="current_folder" /><input type="submit" value=add onclick="add_folder()" /><br></form>
<?php
//some php function here
?>
|
|
|
|
|
|
|
// |