Sql Comment prob

This commit is contained in:
sparkyx 2005-02-26 15:48:25 +00:00
parent 356cc9fb99
commit 5b2365029d

View file

@ -96,13 +96,13 @@ function ExecuteScript($p_cn,$script) {
while (!feof($hf)) {
$buffer=fgets($hf);
// comment are not execute
if ( strpos($buffer,"--") === 0) {
echo "comment $buffer";
if ( substr($buffer,0,2) == "--" ) {
//echo "comment $buffer";
continue;
}
// Blank Lines Are Skipped
If ( Strlen($buffer)==0) {
echo "Blank $buffer";
//echo "Blank $buffer";
Continue;
}