I want to use php on my website with github pages (edited by moderator), but github says that you can not use dynamic content on github pages, but you could use an iframe tag, but you need a web hosting provider for that, do you know any free hosting services?
There are so many free php hosting or premium ones.
but some of them may don’t allow you do view them through iframe.
could you have php on your own computer or
if you have a separate repo with PHP code on github.com, can you use that as php hosting?
It really depends, you cannot use php on your computer unless you’ve already installed it.
again, Github is for static and front-end websites only, you can simply use iframe to display that content, but again it has to be hosted somewhere else.
would a raw.githubusercontent.com URL work?