package net.sourceforge.phpdt.sql;
/**
* @author khartlage
*.
*/
public interface IConstants {
public boolean DEBUG = false;
public final String PHPFILEHEADER = "';%%NL%%echo '
';%%NL%%echo '';%%NL%%echo 'Database access';%%NL%%echo '';%%NL%%?>%%NL%%";
public final String PHPDBCONNHEADER = "%%NL%%$dbconn = mysql_connect(%%CONNLIST%%) or die(\"Could not connect to database\");%%NL%%$db = mysql_select_db(%%DBNAME%%, $dbconn) or die(\"Database not found\");%%NL%%";
public final String PHPDBRESULTHEADER = "$result = mysql_query(%%QUERY%%);%%NL%%";
public final String PHPDBCLOSEHEADER = "mysql_close($dbconn);%%NL%%exit;%%NL%%?>%%NL%%";
}