SQL parser

Any problem with SQL can be discussed here.
Post Reply
Gilliam Hughes
Posts: 25
Joined: Mon May 01, 2006 8:21 pm

SQL parser

Post 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?


Gilliam Hughes - BVA100
Boeing Virtual Airlines
Lixas
Posts: 750
Joined: Wed Feb 16, 2005 4:21 pm

Post 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
Image
Post Reply