Forums

html and php

I'm new to python, but I was trying to run a program I made with html and php. Is that something I achieve through python?

I'm not as experienced as a lot of people on here, but I'll chime in until someone else responds.

PHP and Django aren't something that you blend -you choose one or the other. Anything you could accomplish with PHP, you instead implement in a Django view (in Python) or in a template (using template tags). Both PHP and Django are server side, so I'm not sure conceptually how would you try to use them together.

+1 to what indigochild says. Anything PHP can do, Python can do (and personally I think it does it better) but in general it's best if you choose one or the other -- building a server-side system out of both is tricky and error-prone, and is definitely worse than just using one of them on its own.

Thanks, giles. That comment, however unlikely that might be, saved me a couple days of work.

Happy to hear that, Arutur!