mysql_query("UPDATE neuralnetwork set value= value + 1 WHERE varName='count'");
This query is increasing value of count by 2 when executed from php.
But when the same query executed from mysql query window value is incremented by 1.
auto_increment_increment is 1.
‘value’ row is of type float.
what can be the reason?
It’s not due to your query it seems OK. Something is wrong in your PHP script or script loaded twice, please do benchmarking and try to find what is going wrong.