+ 1
I have written php code for my html form but it does not work instead it shows the code while submitting the form.
I have xampp server installed on my pc.When i write php code and save it in htdocs folder in xampp folder.It runs lonely but when i code a php file for my html form and attach it, it does not execute instead it shows the code.I have a database made with mysql.I want my php code to save the form data in my database. when i tried to take the form data and show it with the help of php code while form is submitted,it executes each part of php code but the form data still not prints on web browser.
3 odpowiedzi
+ 5
Have you checked your apache server is running or not?
+ 3
Show the code please.
+ 2
Open localhost, you would see XAMPP for Windows page, if the Apache service was started.