Login   Register  
PHP Classes
elePHPant
Icontem

File: index.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of omid zarifi  >  Day Tips Show  >  index.php  >  Download  
File: index.php
Role: Example script
Content type: text/plain
Description: index page
Class: Day Tips Show
Retrieve the tip of the day from a MySQL database
Author: By
Last change:
Date: 2011-08-11 07:08
Size: 585 bytes
 

Contents

Class file image Download
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Day tip Class by Omid Zarifi</title>
</head>

<body>
<?php
include('config.php');
require_once(
'class.daytip.php');
$daytips= new daytip;
?>
<marquee direction="left" scrolldelay="5" scrollamount="7" behavior="scroll"><b><font color="#FF0000"><?php $daytips->show_daytip(); ?></font></b></marquee>
</body>
</html>