File: HtmlPage.php

Recommend this page to a friend!
  Classes of Mario Carrocera  >  HTML Google Fonts using PHP on Time  >  HtmlPage.php  >  Download  
File: HtmlPage.php
Role: Example script
Content type: text/plain
Description: Example script
Class: HTML Google Fonts using PHP on Time
Store and retrieve font values to use in Web pages
Author: By
Last change:
Date: 5 months ago
Size: 711 bytes


Class file image Download
('display_errors', true);
error_reporting(E_ERROR | E_PARSE | E_NOTICE | E_WARNING);

$license = new CCLicense(3,2,1);

$html = new html();

// Just to have something to see on body
$google = $html->ShwCntIn('letters',"page");
<!DOCTYPE html>
    <?php $html->Getheader(); ?>
<?php foreach ($google as $clave => $valor) { if ($valor=='google') { ?>
<p style=<?php echo '"font-family:'.$clave ; ?>">This is a paragraph <?php echo $clave; ?>.</p>
<?php }} ?>
<?php echo '<br>'.$license->logo . '</br>'.$license->url; ?>

For more information send a message to info at phpclasses dot org.