NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Converting html5 document to PHP


Joined: 01 Dec 2016
Posts: 1
Reply with quote
Hi all,
New here, Not very experienced with PHP.
I've got version 18 of nusphere. I have a program called osCommerce which is 100% PHP. I need to convert several html5 documents to PHP. These documents will be called by a template for inclusion in a different document. Unfortunately they are HTML5.

Can anyone suggest a quick and dirty way to convert them to PHP? All help will be appreciated.
View user's profileFind all posts by DuncanMSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 7826
Reply with quote
There is no quick and dirty ways to convert an output into a source code that generated this output, unless you're fine with trivial case that would just echo what you need, but it's probably not the case, right?
Probably you need to be able to update some parts of that HTML. In this case you need to convert it into template, not php.
If so, you need to learn osCommerce templates and learn how to invoke them from the other scripts.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Converting html5 document to PHP
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic