Skip to main content
June 17, 2006
Question

First attempt at php

  • June 17, 2006
  • 1 reply
  • 157 views

I also posted this in the General discussion forum for DW, as I was not sure where it will be picked up.

I have just uploaded my first PHP script. This file should display a form to enable data input but the code is displayed instead, I cannot figure out where the error lies and it seems that my code is not been interpreted or something. It can be viewed at
777associatesinc.com/menupage.html. This has a menu which should load the forms.

I will appreciate it if someone can shed some light on where this is going wrong, many thanks.

HK
This topic has been closed for replies.

1 reply

Participating Frequently
June 19, 2006
PHP will not work unless the extension on the file is .php

Your server will not recognize, compile and execute the PHP without the appropriate extension.

Change the name of your file to menupage.php and it will work!

Thanks!