0

I can't use PHP. Every time I put it on my website, it either doesn't pop up or shows the code itself. How do I fix this?
(Just started using PHP, I'm not good.)

3
Contributors
4
Replies
16
Views
3 Years
Discussion Span
Last Post by topdude155
0

If it shows the code, you're probably using .html as the file extension. Use the .php extension for any file with php code in it.

0

Does your webserver support PHP files? Do you manage your web server, or is this being hosted somewhere?

Do you have a link to one of the pages to look?

0

I just returned the PHP book I got to the library, so I can't do PHP anymore.(not like I actually want to take the time to learn my 4th code).

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.