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.
As an Amazon Associate we earn from qualifying purchases.