Re: Re: better way to mix html and php code?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Robert Cummings" <robert@xxxxxxxxxxxxx> wrote in message 
news:1132257406.18353.24.camel@xxxxxxxxxxxxxxx
> Here is an example of a layout template:
>
> -----------------------------------------------------------------------------
> <jinn:prepend/>
> <html>
>
> <head>
>  <title><jinn:pageTitle/></title>
>
>  <style type="text/css">
>  <!--
>    <jinn:template path="css/main.template"/>
>  -->
>  </style>
>
>  <jinn:accumulatorFlush name="javaScriptTags"/>
>  <jinn:accumulatorFlush name="javaScriptTags" dynamic="true"/>
>
>  // -->
>  </script>
>
> </head>

I'm curious ... how do you generally handle forms and urls?  What if the 
programmer wants to add a link, something like:
<a href="page.php?op=View&id=1234">View my info</a>

How is the data (op=View&id=1234) separated from the formatting?

Thanks
DanB

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux