Page 1 of 1

SQL parser

Posted: Mon May 01, 2006 8:32 pm
by Gilliam Hughes
I have always wondered that if you get an SQL parser error... and you put an @ symbol in front of the line that is getting the error, why it goes away?

Posted: Tue May 16, 2006 9:48 am
by Lixas
if i found that some lines of code sometime givving me an error that is what i'm doing. if 1) does not working, doing part 2). If part 2) is not ok i'm using 3) method
So here is my methods:
1) trying to fix somehow
2) trying to recode that part from a zero
3) using:

Code: Select all

ob_start();
// your code is here
//do whatever you whant
$variable = ob_flush();
ob_clear();
and then cheking a text in $variable, if it contain something that is should not be there, just dropping that place