i want to convert the html content into php content dynamically.
//html code
<html>
<body>how are you?</body>
</html>
the above html code should be be look like this after converting to php
//php code
<?php
$body = how are you?;
?>
i found couple of softwares for html to php conversion but that is manually i.e. each time i had to convert my html content into php but i want it dynamically.
or if you just want to convert your .htm files to .php (so that later on you can include php content in them) you can just change the extension. It won't affect your site, so long as your server has php installed.
Then when you want to include some php to your code, just use open (and ending) tags.
actually i'm making the rss reader and i'm able to parse the xml values to the php. But instead of xml i want to use html to php conversion sothati can load that values into the flash. Is that possible to make html to php conversion?
actually i'm making the rss reader and i'm able to parse the xml values to the php. But instead of xml i want to use html to php conversion sothati can load that values into the flash. Is that possible to make html to php conversion?
regards
amit
Oops - I've just answered a slightly different question that you asked in another thread. Didn't realise that you wanted to use Flash as well; can't really help with that as I'm not a flash expert.
PHP does have functions for parsing XML
So yes, it is possible you can read about them here http://www.php.net/manual/en/ref.xml.php
Sorry if I can't be more specific in helping you, I have never used the features, but I know it can be done.