I'm not sure how best to phrase my question, so I'll just start writing... :-)
I'm a relative newbie to PHP.
I'm working with a Progress database and can successfully access data via straight HTML. The cgi-script that I'm parsing through recognizes the "difference" between Progress code and HTML, because I place the HTML into an output stream [{&out}]. This allows me to code the HTML directly into a Progress program [.p file].
My question is:
How do I accomplish the same thing with PHP?
When I place PHP in the Progress program, the server doesn't know that it's PHP, so it doesn't attempt to parse the code. The PHP is ignored.
On the other hand, if I place the Progress code within a PHP app, PHP doesn't know what the heck it is.
I've tried using "require" and "include" statements, but these seem to get me nowhere, as well.
This would appear to be something elementary, that is escaping me, as one of the fundemental features of PHP is "working well with others".
Any help? Did I explain it well enough?
Thanks for reading!
Karl