|
Posted by Geoff Berrow on 06/20/07 14:49
Message-ID: <1182346415.457377.221980@a26g2000pre.googlegroups.com> from
James_sgp contained the following:
>> so you've done
>>
>> if(strcmp($distance,"ft")==0) $max_depth=$max_depth/3.28;
>> echo $max_depth;
>> $sql= "INSERT... $max_depth ... ";
>> echo $sql;
>>
>> and $max_depth is different in the INSERT statement?
>Geoff,
> Yes you are correct...it is still the original value (ie.it seems to
>not update after doing the sum!
If the first echo shows the result of the calculation, then the second
must also.
Strip the code down to the smallest snippet that still shows the
problem. If you still haven't found the answer, post it here.
--
Geoff Berrow 0110001001101100010000000110
001101101011011001000110111101100111001011
100110001101101111001011100111010101101011
Navigation:
[Reply to this message]
|