For outputs one more statement and uses the for loop to output one statement, but outputs two identical statements without looking at the problem.
$ Rows = "1"; // Get query ?? Result ???? For ($ I = 1; $ I <= $ rows; $ I ++) {$ str = <
The result recorded in the database is two pig. the shuju field is empty before execution.
Reply to discussion (solution)
The statement is executed only once.
Is there two identical values for the WHERE time = '$ jintianc' "time field in your database?
The statement is executed only once.
Is there two identical values for the WHERE time = '$ jintianc' "time field in your database?
Time does not have two identical values, only one value
$ Resultk = mysql_query ($ sqlk); // execute the statement
If (! Mysql_query ($ sqlk, $ con ))
{
Die ('Error: '. mysql_error ());
}
Two mysql_query times?
Observe carefully upstairs
It turned out to be here...