The Class


phpMyDataGrid is a class written to manipulate data from a database.
The class uses AJAX-functionality to ease the data-editing.

The following articles will describe the features of the class.
One article for each function.
We present as well the Default-Settings here.


The Object

of the Class phpMyDataGrid is $objGrid


Controlling the Output

Each text, which belongs to the website beside the text, which is produced by the class, must be published in a condition to guarantee that the text output will not be repeated/duplicated when AJAX reloads parts of the page.

For this the variable DG_ajaxid is used:

  
if (!isset($_REQUEST["DG_ajaxid"])){
== Enter the text which you want to present inside of this condition ==
== Enter the complete output of the body-part of the webpage here ===
}
                $objGrid -> ajax('silent');
 		$objGrid -> grid();
		$objGrid -> desconectar();