The ISPConfig mysql library is here:
/usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php
Your php script should look like this (untested, partly pseudo code):
Code:
<?php
include_once('/usr/local/ispconfig/interface/lib/config.inc.php');
include_once('/usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php');
$db = new db;
$tablename = "database_table_name";
$insert_data = "(a,b,c) values ('a','b','c')";
$index_field = "dbtable_index_field_name";
$db->datalogInsert($tablename, $insert_data, $index_field);
?>
The content of the variables has to be changed to match the data and table that you want to modify.