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




Although it's coding preference, I would suggest you check out smarty. It
allows you to separate code and html

http://smarty.php.net/crashcourse.php


-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On
Behalf Of Larry Kleinman
Sent: Tuesday, October 02, 2007 11:02 AM
To: Web Enabling the AS400 / iSeries
Subject: [WEB400] PHP

Hi - I'm making the switch from Net.Data to PHP and have some really basic
questions. Most important, at least right now:

Net.Data allows ordinary HTML inside of a Net.Data function. For example

%HTML (S1) {
<html>
<head>
</head>

<body>
Some text here
@S1 ( )
Some more text here
</body>
%}

will display "Some text here" then call the function name S1, then display
"Some more text here"



In PHP, it looks like i have to use the Echo funciton whenever I want to do
straight HTML

<?php
Function input ( ) {
echo "
some text here
";

S1 ( )
echo "
some text here
";


}
?>

Is this correct?

Larry Kleinman
Kleinman Associates, Inc.
212-949-6469
203-255-4100

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.