codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  html code running php function  hermanningjaldsson at 11:02 on Sunday, March 22, 2009
 

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="index.php" 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

?>




  Re: html code running php function  ariseadi at 11:40 on Friday, April 24, 2009
 

ya its but rewrite ur code again








CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums








Recent Forum Threads
• C++
• Re: refresh parent after closing pop up window
• Dynamic Insertion
• Date and Time function around the world???
• Significant Factors
• Perl array access
• Re: huffman encoding and decoding in C++...
• Perl One Liner: Replace {(
• Re: html including php, accessing the functions


Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text


© Copyright codetoad.com 2001-2009