Marek Kilimajer mailto:[EMAIL PROTECTED]
on Friday, October 17, 2003 5:29 PM said:
Is your query correct?
Yes.
function query($sql, $current_line)
{
[snip]
}
I tried your mod and I still saw the error, but your mod did not trigger
any output.
Chris.
--
Don't like reformatting your
Hey peeps.
Let me be quick (or try to at least).
Here is a snippet of my db class.
function query($sql, $current_line)
{
$this-Result = mysql_query($sql)
or die($this-stop($current_line));
// the following two lines work if they are in the next
// method
Is your query correct?
Try:
function query($sql, $current_line)
{
$this-Result = mysql_query($sql)
or die($this-stop($current_line));
if(!$this-Result) {
echo mysql_error();
}
$this-Result_total_fields =
3 matches
Mail list logo