Choose your database:
AnySQL
MySQL
MS SQL Server
PostgreSQL
SQLite
Firebird
Oracle
SQL Anywhere
DB2
MaxDB

Subscribe to our news:
Partners
Testimonials
David Lantz: "Thank you, this is by far the simplest, and most friendly utility for building db record system I have ever used. I wish I could get my systems guys at the office to purchase this for our company would be so very helpful and speed up a lot of work. I for one have used it for everything from a simple inventory record of my house, to a members record for my church just little pet projects and a test bed to test my own db builds and theories before having to hand code at the office..... it is a lot of fun to work with".
Mike Little: "Great product, thank you for your great work and sharing".

More

Add your opinion

PHP Generator for MySQL online Help

Prev Return to chapter overview Next

OnCustomHTMLHeader

This event occurs when generating the HEAD section of the page. It allows you to define the contents of the HEAD section (like meta tags or favicon) for all pages of the generated website.

 

Signature:

function OnCustomHTMLHeader ($page, &$customHTMLHeaderText)

 

Parameters:

$page

An instance of the Page class declared in components/page.php.

$customHtmlHeaderText

The text block to be added to the head section of all created pages.

 

Example 1:

To add a new title and a favicon to all webpages of the generated application, place the following code to the event body.

 

$customHtmlHeaderText = '<meta name="author" content="SQL Maestro Group">';

$customHtmlHeaderText .= "\n";

$customHtmlHeaderText .= '<meta name="copyright" content="SQL Maestro Group" />';

$customHtmlHeaderText .= "\n";

$customHtmlHeaderText .= '<meta name="keywords" content="nba,basketball,game">';

$customHtmlHeaderText .= "\n";

$customHtmlHeaderText .= '<link rel="icon" href="favicon.ico" type="image/x-icon" />';

 

Example 2:

The following code is used to include external style file and javascript library to the generated application.

 

$customHtmlHeaderText = 

  '<link rel="stylesheet" href="external_data/pg_styles.css">' .

  '<script src="external_data/pg_utils.js"></script>';

 



Prev Return to chapter overview Next