package net.sourceforge.phpdt.sql; /** * @author khartlage *. */ public interface IConstants { public boolean DEBUG = false; public final String PHPFILEHEADER = "<?php%%NL%%echo '<html>';%%NL%%echo '<head>';%%NL%%echo '<meta name=\"PHPEclipse-generated\" content=\"PHPEclipse\">';%%NL%%echo '<title>Database access</title>';%%NL%%echo '</head><body>';%%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%%"; }