Displaying 1 result from an estimated 1 matches for "zzsys_trap".
2012 Nov 12
3
Unable to lauch php-script to truncate database
...-----------------------------------------------
<?php
include "./config.php"; //nuBuilder config file
$conn = mysql_connect($DBHost, $DBUser, $DBPassword);
mysql_select_db($DBName,$conn);
/**************************************************************
emptying zzsys_trap and zzsys_variable tables
**************************************************************/
$sql = "TRUNCATE TABLE zzsys_trap";
mysql_query($sql);
$sql = "TRUNCATE TABLE zzsys_variable";
mysql_query($sql);
/***********************************...