RE: [PHP] Re: Super bizarre changing variable!!

2007-10-04 Thread Instruct ICC
> Brian Dunning wrote: > > I'm running the following code: > > > > $query3 = "DELETE FROM table1 WHERE referer=$referer ORDER BY creation > > LIMIT $numtodelete"; > > $result3 = mysql_query($query3); > > $string = "$total found, $n kept, $numtodelete extras removed ($query3)"; > > $x = mysql_quer

Re: [PHP] Re: Super bizarre changing variable!!

2007-10-04 Thread Brian Dunning
$referer is always an integer, 6 to 10 digits long. To clarify: the value of $referer is changing between line 1, where $query3 is being set, and line 4, where it's being written into my debugging log table2. I can't see any way that $referer could be different in those two places. On