Robert Cummings wrote:
> On Thu, 2006-06-15 at 03:16, Larry Garfield wrote:
>> Another recommendation: Do not, under any circumstances, try to write your
>> own
>> template engine. All you'll be doing is writing a syntax parser in PHP for
>> another syntax that will give you fewer options, less
On Thu, 2006-06-15 at 03:16, Larry Garfield wrote:
>
> Another recommendation: Do not, under any circumstances, try to write your
> own
> template engine. All you'll be doing is writing a syntax parser in PHP for
> another syntax that will give you fewer options, less flexibility, and worse
>
At 1:14 AM -0700 6/15/06, BBC wrote:
>Thank Mr.tedd(I guess you are a man)
>I think you should check one of my site http://aztec-indianart.com
>while you're surfing this site actually you are visiting one page only with
>different variable (see url).
>I used many data in html, php, inc, txt, cs
Richard Lynch wrote:
> On Wed, June 14, 2006 3:28 pm, BBC wrote:
>> I used many functions as template to change the html syntax.
>> this is one of the function as a sample:
>> > function
>> tabletag($border="0",$width="100%",$height="100%",$cellpadding =
>> "0",$cellspacing="0",$style="")
>> {
>>
EMAIL PROTECTED]>; "Alex Major" <[EMAIL PROTECTED]>;
Sent: Wednesday, June 14, 2006 5:39 PM
Subject: Re: [PHP] Using PHP/HTML effectivly
At 1:28 PM -0700 6/14/06, BBC wrote:
I used many functions as template to change the html syntax.
this is one of the function as a sample:
&quo
On Wed, June 14, 2006 3:28 pm, BBC wrote:
> I used many functions as template to change the html syntax.
> this is one of the function as a sample:
> function
> tabletag($border="0",$width="100%",$height="100%",$cellpadding =
> "0",$cellspacing="0",$style="")
> {
> print (" border=\"$border\"
On Thursday 15 June 2006 01:50, Richard Lynch wrote:
> I can guarantee that somebody on this list is going to be agahst at
> this recommendation of such a crude solution -- But it has served me
> well for a decade for SIMPLE WEB APPLICATIONS and is much less effort
> and more maintainable simply b
On Wed, June 14, 2006 12:37 pm, Alex Major wrote:
> I've been (very slowly) working my way through some basic php, and
> putting it into my html site. However recently (after trying things
> out such
> as cookies or redirects where they have to be set before any page
> output)
> I've found that
At 1:28 PM -0700 6/14/06, BBC wrote:
>I used many functions as template to change the html syntax.
>this is one of the function as a sample:
>function tabletag($border="0",$width="100%",$height="100%",$cellpadding =
>"0",$cellspacing="0",$style="")
>{
> print (" cellspacing=\"$cellspacing\" cellpa
Thankyou everyone who responded to my original message. All of your ideas
have showed me the various ways of doing it, however I believe that the idea
from Jons message is best suited to my needs. I realise the logic behind it,
its put together some knowledge I have already so I think I'll use it f
I used many functions as template to change the html syntax.
this is one of the function as a sample:
function tabletag($border="0",$width="100%",$height="100%",$cellpadding =
"0",$cellspacing="0",$style="")
{
print ("cellspacing=\"$cellspacing\" cellpadding=\"$cellpadding\"
style=\"$style\">"
This is my opinion on the matter...
From experience, I would say that mixing PHP and HTML together in a
complicated page can often get very ugly. I prefer to separate out
presentation and code into separate layers as much as possible.
I have most often used template systems such as Smarty (sm
I'm guessing that phpBB is doing things the "right way".. that is, separating
presentation and logic. In cases like that, you have your PHP code and your
HTML in separate files with as little 'logic' in the HTML as possible.
I'm kind of oversimplifying the explaination and I'm sure there are "m
13 matches
Mail list logo