RE: [PHP-INST] HTML HELP WITH PHP

From: Date: Tue, 14 Aug 2001 12:41:03 +0000
Subject: RE: [PHP-INST] HTML HELP WITH PHP
Groups: php.install 
Request: Send a blank email to php-install+get-3963@lists.php.net to get a copy of this message
I think this is what you did: file.php: <?php function someTimefunction() { <some code...> } ?> index.html <html> . . . </html> Am I right ? What you want to do is: 1) Rename index.html in index.php (or let the php-engine parse your html-files) 2) Insert in your index.php or index.html - File this code: <?php someTimefunction(); ?> And everything what the function returns will be written in the html - file .... Hope this is what you asked for ... > -----Original Message----- > From: Aaron Norton [SMTP:azzlano@faydwer.com] > Sent: Tuesday, August 14, 2001 14:36 > To: php-install@lists.php.net > Subject: [PHP-INST] HTML HELP WITH PHP > > I created my page in html and then created a php file seperately for > date/time function. How do I add the function to my html page and keep the > html tage on it. Or is there a way to ad a function that will call on the > php file I made. > > PLZ HELP > > > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net > For additional commands, e-mail: php-install-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.install (#3963) next »