PHP calculator
-
Hello,
I have a php code that queries a mysql database based on the inputs from a html form.
I’ve saved both .php and the .html form in the httpdocs directory, and the query works well.
How do I transfer the html and php codes into wordpress?
Here’s what I’ve done so far…
1) Installed Exec-PHP and turned off the visual editor
2) created another page and pasted the php codes inside (permalink1)
3) created one page and pasted the html codes inside (permalink2) and changed the html code to <form method=”post” action=”permalink2.php”>The html form look ok, when I clicked on the “calculate” button, it seems to bring me to http://domain.com/permalink2/permalink1.php, while the php code is in http://domain.com/permalink1.php.
Help!!!! Thank you…
The topic ‘PHP calculator’ is closed to new replies.