How to template in php #1 – file_get_contents and str_replace



In this video I will show you how to separate html content from PHP using file_get_contents() and str_replace() functions.

This will be very useful especially for web developers who want to translate their website from one language to another.

First time video is hard to make, but I will improve, time will tell.

make sure to leave your like, dislike, comment and click the link below to subscribe for more videos. Thank you.

subscribe link:

Loop data from MySQL database lesson:

Nguồn: https://svdpch.org/

Xem thêm bài viết khác: https://svdpch.org/cong-nghe/

1 thought on “How to template in php #1 – file_get_contents and str_replace”

  1. Congratulations, you just invented whole new system of templating. I don't understand why templating engines like Twig don't use this method.

    Ok, now without sarcasm. Who is target audience of this video? Tutorials with almost the same instructions were on the internet more than 10 years ago. Beginner can use them, advanced programmer don't need any of it.

    Reply

Leave a Comment