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.)
Answered by diafol 3,720 in a post from
Jump to Post
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.
All 4 Replies
JorgeM 958 Problem Solver Team Colleague Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.