× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



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.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.