My dissertation is due in 26th April and I'm having a major issue with PHP, which I don't seem to be able to define.
It seems pretty basic to me but I can't seem to identify the problem!
I've written a form that is supposed to update an Sql database when the submit button is selected. Instead all I get is the option to open or save the php file. When I open it, it just opens it in the text editor and doesn't execute the code!?!
The code is straight from a book
I've tested that php is installed correctly by using the phpinfo page and that's cool, but I've tried to integrate php into a test file to display the date and the php part is totally ignored.
Is the problem somthing to do with enabling the php file extension in my browser?
Any help or suggestions GREATLY appreciated!