I added my php file name to the "<. form .>" in html but when i click on the submit button, instead of making a database and fill it with input data (which is what my php code is supposed to do), it pulls the raw of the php file (the browser literally shows my code on the screen).
enter image description here enter image description here these are the images Please Help
CodePudding user response:
Can you bring us the code? we need it to answer the problem
CodePudding user response:
this is the html and btw the html and the php files are in the same folder i tried testing in a localhost server with EasyPhp (similar to XAMPP) and the same problem accures.