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.)
topdude155
0
Newbie Poster
Recommended Answers
Jump to PostIf 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

diafol
topdude155
0
Newbie Poster
JorgeM
958
Problem Solver
Team Colleague
Featured Poster
topdude155
0
Newbie 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.