<table BGCOLOR="#c4ccff" FRAME="border" BORDER="2" ALIGN="center">
<th bgcolor="#fcb0ff">#</th>
<rope:foreach in="row[0][col]" as="cols" key="colcntr" >
<th bgcolor="#fcb0ff"><rope:insert sym="colname[$colcntr]"></th>
<rope:next>
<rope:foreach in="row" as="rows" key="rowcntr">
<tr>
<td bgcolor="#e4e199"> <rope:insert sym="rowcntr">. </td>
<rope:foreach in="rows[col]" as="column" key="colcntr">
<td> <rope:insert sym="column"> </td>
<rope:next>
</tr>
<rope:next>
</table>
Simple Template Engine - a really simple and clean way of separating logic (PHP code) from the presentation (HTML & friends).
Categories : PHP , Templates , HTML and PHP Website Engine Categories : PHP , HTML and PHP , Templates PHP3: Formmail. Just a cgi formmail, but than in PHP. It is easy to use! Categories : HTML and PHP , Email , PHP , Perl , HTML and PHP function textwrap will wrap text to any desired width using <BR>\n as the default line break.
Default wrap width is 80 columns.
Categories : Strings , HTML and PHP , PHP html split bar used to split in multiple pages a database result Categories : HTML and PHP , Databases , MySQL , PHP How to Create a Shoutbox Using PHP & MySQL Categories : PHP , MySQL , Web Applications , Beginner Guides , HTML and PHP Smart Counter - This little script is a plain and simple hit counter that uses cookies to determine whether or not the visitor has already been counted. Categories : Cookies , HTML and PHP , PHP Snipe.Net's Web Design Color Scheme Previewer- Allows uses to input hex
codes for their text, background, and link colors, and preview the color
scheme with their background image. Example:
http://www.snipe.net/tech/snipeschool/hex.php3 Categories : PHP , HTML and PHP , General , Graphics , HTML Using select multiple with php3 Categories : HTML and PHP , PHP PHP, simple, counter, bala Categories : HTML and PHP , PHP , PHP Options and Info XDT Topsite (Gold v1.0) Categories : Databases , CSS , PHP , HTML and PHP , Sessions Sed, a coder's best friend. This lovely linux command allows you to swap strings in a file. Great for changing a variable name in a script with
multiple files. Categories : HTML and PHP , HTML and PHP PHP and MySQL scripting for Muyltiple CheckBoxes Categories : HTML and PHP , MySQL , Databases , PHP Form input return conformance Categories : HTML and PHP , PHP , Regexps A very simple way to build and do a hierarchical html categories browser without javascript , just using html php and mySql
Categories : HTML and PHP , Databases , Algorithms , PHP , MySQL
Jos� Santos wrote : 1035
Hello !!
Using templates it`s a good idea to separate code of programmer and webdesign !!
I`ve used templates and work fine, but in somme cases this not work fine !! :-(
I recomend to use XML / XSL.
The Pear of PHP, have an package of classes to work with XML.b Usualy i use XML_Tree.
In scripts php, choose the operations and generate the XML (structure).
In XSL, choose the HTML to cover the XML
See http://www.w3schools.com/xml/ and http://www.w3schools.com/xsl/