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

Subscribe to our news:
Partners
Testimonials
Ran Cole: "We bought the tool last week and want to say how much we love it. We've found it not only powerful, but very user friendly. We have used the tool to create an interface that manages our MySQL DB for different types of users".
Rickey Steinke: "Folks, I wanted to drop a line and give you a fanatic thank you. I have a project due for my computer application course and without PHP Generator I never would have gotten it done with the professional results your product produced. My sincerest gratitude to each and every team member who brought this program to light".

More

Add your opinion

PHP Generator for MySQL online Help

Prev Return to chapter overview Next

OnCustomHTMLHeader

This event occurs when the head section of the page is generating. Use it to provide additional information for the HEAD section of the page (such as keywords, author, or description).

 

Signature:

function OnCustomHTMLHeader ($page, &$customHtmlHeaderText)

 

Parameters:

$page

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

$customHtmlHeaderText

A string to place into the head section

 

Example 1:

The following code demonstrates how to use this event to add metadata to the generated webpage.

 

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

 

Example 2:

The following code includes external style file and javascript library to the page.

 

$customHtmlHeaderText = 

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

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

 



Prev Return to chapter overview Next