I’m new to php and just wanna ask the ff. Please correct me if I’m wrong and please do advice. Thanks!
In my understanding, if I am to make 500 html pages, it would be easier to manage these pages using php via dynamic pages. I know that the CSS in the index.php will render the design and the navigation markup to all other php pages linking to it, so there would be no need to include the css file markup and also the menu or navigation markup to the whole 500 php files.
Lastly, with regards to security issues, is php easier to hack than html?
To make 500 pages dynamics then it is better to use wordpress. Easily you can manage all 500 pages/posts easily in wordpress.
It is more secured to use, compare to creating your own custom php script. Instead developing it from scratch, you can use wordpress which have lot of options and plugins available free
After watching the video tutorial from phpacademy (YouTube) with regards to dynamic pages, the author pointed a problem about SEO issues with php, but he did not cover it. Can anyone explain this?
I think you are a bit confused, and rightly so, learning web development can sure be a lot to take in.
“php easier to hack than html”
PHP is a server-side language that can do stuff and output a page (among other things) to the browser. Although PHP and HTML are related they are not comparable.
Both have security concerns, both require learning good practice. Anything on the web should have a secure server and you should be working on a virus-free machine and using secure FTP to transfer files.
As for SEO, this is the wrong forum for that discussion, but PHP being server-side has little to do with SEO. The HTML pages it outputs have much more to do with it.
So I’d say the first thing you should do is learn good semantic HTML, then learn how to have PHP generate it.