It is my first time using PHP in database tables. Situation: I have a table with varchar field which I fetch on my home page. The HTML works but when I try to use PHP it isnt executing. Instead of that when I use “View Source” in FF it is colored with pink. What should I do? Thanks in advance!
Share
PHP requires you to have a PHP capable server setup. A good one would be Apache 2 with PHP (which is quite common and runs on all). Search Google to find how to set it up according to your OS. If you are trying to store code in a DB then run it in PHP, like Luwe said, don’t do it. It could open security risks and I don’t think it works in general.