Very nice...thank you.

On Wed, Jun 9, 2010 at 1:50 PM, Loyd Goodbar <loyd@xxxxxxxxxxxxxx> wrote:

It is a valid method and you're not doing anything wrong. But as you found,
it can be verbose if you need to echo PHP values many times in a document.
ASP.NET is somewhat worse in this regard, especially with server-side
variables (<asp:literal>, <asp:textbox> and the like). Templating incurs
some overhead, but allows better document separation and organization.

On Wed, Jun 9, 2010 at 12:26 PM, Michael Ryan <michaelrtr@xxxxxxxxx>
wrote:

Thank Loyd...

So, is the way I'm doing a valid method or is it a stoopid method?

On Wed, Jun 9, 2010 at 1:07 PM, Loyd Goodbar <loyd@xxxxxxxxxxxxxx>
wrote:

Sorta. If you use a templating engine such as Smarty, you could use
<td>{$AppStatus}</td>. Otherwise, no. HTML has no knowledge of the
language
generating it. This is similar to ASP.NET <http://asp.net/>'s <%=...
%>
syntax.


--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.