Entry
PHP: HTML: Convert: Where to convert automatically HTML to PHP print or echo text?
Mar 20th, 2008 17:19
ha mo, Knud van Eeden,
----------------------------------------------------------------------
--- Knud van Eeden --- 09 March 2005 - 05:53 pm ----------------------
PHP: HTML: Convert: Where to convert automatically HTML to PHP print
or echo text?
---
Steps: Overview:
1. -Goto
http://www.quasarcr.com/html2php/
2. -Insert e.g. the HTML block:
--- cut here: begin --------------------------------------------------
<!-------------------------------------------------------------------->
<!DOCTYPE
HTML
PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html401/loose.dtd"
>
<!-------------------------------------------------------------------->
<HTML>
<!-------------------------------------------------------------------->
<HEAD>
<!-------------------------------------------------------------------->
<META
HTTP-EQUIV="Content-Type"
CONTENT="text/html; charset=iso-8859-1"
>
<!-------------------------------------------------------------------->
<TITLE>
Simple Function Call
</TITLE>
<!-------------------------------------------------------------------->
</HEAD>
<!-------------------------------------------------------------------->
<BODY
BGCOLOR="#ffffff"
>
<!-------------------------------------------------------------------->
--- cut here: end ----------------------------------------------------
3. -This will be converted to:
--- cut here: begin --------------------------------------------------
print "<!--------------------------------------------------------------
------>";
print "<!DOCTYPE";
print "HTML";
print "PUBLIC";
print "'-//W3C//DTD HTML 4.01 Transitional//EN'";
print "'http://www.w3.org/TR/html401/loose.dtd'";
print ">";
print "<!--------------------------------------------------------------
------>";
print "<HTML>";
print "<!--------------------------------------------------------------
------>";
print "<HEAD>";
print "<!--------------------------------------------------------------
------>";
print "<META";
print "HTTP-EQUIV='Content-Type'";
print "CONTENT='text/html; charset=iso-8859-1'";
print ">";
print "<!--------------------------------------------------------------
------>";
print "<TITLE>";
print "Simple Function Call";
print "</TITLE>";
print "<!--------------------------------------------------------------
------>";
print "</HEAD>";
print "<!--------------------------------------------------------------
------>";
print "<BODY";
print "BGCOLOR='#ffffff'";
print ">";
print "<!--------------------------------------------------------------
------>";
--- cut here: end ----------------------------------------------------
---
---
Internet: see also:
---
JavaScript: Document.write: Where to convert automatically HTML to
document.write text?
http://www.faqts.com/knowledge_base/view.phtml/aid/32491/fid/126
----------------------------------------------------------------------
http://www.tantofa.com
http://www.fantofa.com
http://www.mantofa.com
http://www.tanpola.com
http://www.tampola.com
http://www.yamot.com
http://www.mozmar.com
http://www.templatestemp.com