|Action in Form is printing the file name rather than invoking the action's php file? [message #726812]
||Mon, 19 September 2011 15:45
Registered: September 2011
I am very new to php programming and particularly in eclipse. I am having this problem that wasn't happening before. |
My file is called index.php, I have only one file called, which is index.php, and I have this very simple code in it. Basically my code just call itself:
<form id="form1" name="form1" method="post" action='index.php'>
<input name="textfield" type="text" id="textfield" />
<input type="submit" name="submitcontent" id="submitcontent" value="extract files" />
When I run the code and click the submit button, instead of reloading index.php as I have put in the action request, the output is a white page with a string "index.php". I spent several hours trying to find the error with no hope.
Can you please advice what is my mistake,
In eclipse I use debug as PHP script. Does it matter ?
What is keeping me wondering is if I run this code in dreamweaver, it works perfectly i.e. reloading the index.php as it is suppose to do.
Powered by FUDForum
. Page generated in 0.01968 seconds