Hello every one,
I have a code stop without any error or info:
A php code inserts records to a MyQL table successfully. The insert is very simple: three integers of a table. Below is the code:
[CODE]
$inssql = “INSERT INTO pppv(addrs, addre, LcID) VALUES({$ads}, {$ade},{$LcID})”;
echo “i={$i} ” . $inssql . “<br>”;
$result = mysqli_query($con,$inssql);
if (!$result) {
trigger_error(“Error: f-city.php query cities – {$inssql} – ” . mysqli_error($con) . “<br>”, E_USER_ERROR);
}
echo “i={$i} result={$result} ” . $inssql . “<br>”;
Below is the last two results from one run:
[CODE]
i=2766 INSERT INTO pppv(addrs, addre, LcID) VALUES(36874, 368999,5 )
i=2766 result=1 INSERT INTO pppv(addrs, addre, LcID) VALUES(363744, 368639,5 )
i=2766 “36863744”,”36863999″,”5″
i=2767 INSERT INTO pppv(addrs, addre, LcID) VALUES(368640, 365023,554 )
For a normal run, there are three output lines, two lines are produced by the above code, another after these two line. From the above output, 2766th record is a success one. But for 2767th, even it’s inserted into table successfully (it’s in the table, I checked), and no error log in the log, ii stopped before the 2nd echo. This keeps for every one, this run processed 2768 records, another for 3040 records, …. What is the problem for code to stop?
Thanks,