|
Posted by James_sgp on 06/20/07 07:53
On Jun 20, 2:58 pm, Geoff Berrow <blthe...@ckdog.co.uk> wrote:
> Message-ID: <1182306258.201378.288000@j4g2000prf.googlegroups.com> from
> James_sgp contained the following:
>
> >The problem is that the variable
> >$max_depth isn`t updated when it is written into the database, hence
> >the original value is always there.
>
> Then you have to do the debugging all of us do. If you have
> something like
> $sql= "INSERT... ";
>
> Then add
> echo $sql;
> to see whether the variable is making it to the insert statement
>
> --
> Geoff Berrow 0110001001101100010000000110
> 001101101011011001000110111101100111001011
> 100110001101101111001011100111010101101011
I have...
The SQL query contains the old value, while is i 'echo' the variable
before making the SQL staement it contains the new number!
Navigation:
[Reply to this message]
|