Thanks Todd...I'll take a look.

On Wed, Jun 9, 2010 at 12:46 PM, <TAllen@xxxxxxxxxxxx> wrote:

You might try a PHP template, like Smarty templates.
http://www.smarty.net/

Thanks,
Todd Allen
EDPS
Electronic Data Processing Services
tallen@xxxxxxxxxxxx




Michael Ryan
<michaelrtr@gmail
.com> To
Sent by: "Web Enabling the AS400 / iSeries"
web400-bounces@mi <web400@xxxxxxxxxxxx>
drange.com cc

Subject
2010-06-09 12:28 [WEB400] Mixing HTML and PHP
Variable Data

Please respond to
Web Enabling the
AS400 / iSeries
<web400@midrange.
com>






So this is what I have now in my PHP file:

<table width="100" border="1" cellspacing="1" cellpadding="1"
bgcolor="#eeeeee">
<tr>
<td><b>Application Status</b></td>
</tr>
<tr bgcolor=#ffffff>
<td><?php print("$AppStatus"); ?></td>
</tr>
</table>

I'd like to just reference the variable ($AppStatus) in the HTML without
the
PHP stuff around it. Technical description, I know.

I'd like something like this:

<table width="100" border="1" cellspacing="1" cellpadding="1"
bgcolor="#eeeeee">
<tr>
<td><b>Application Status</b></td>
</tr>
<tr bgcolor=#ffffff>
<td>$AppStatus</td>
</tr>
</table>

Is that possible?

Thanks!




This communication and any transmitted documents are intended to be
confidential. If there is a problem with this transmission, please contact
the sender. If the reader of this message is not the intended recipient, or
the employee or agent responsible to deliver it to the intended recipient,
you are hereby notified that any dissemination, distribution or copying of
this communication is strictly prohibited.

--
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.