Sample Code:
mysqli_query($conn, "INSERT INTO tablename(id, studentname, class) VALUES('".$sid."', '".$sn."', '".$class."');
Data Being Entered:
0123456 Simon Phillips DES103
0231242 Carly Jones PRG443
1232122 Peter Willson HCN101
In the Table it shows this:
0123456 BLANK DES103
BLANK BLANK PRG443
BLANK Peter Willson BLANK
*BLANK is simply an empty cell, the word is used to demonstrate visually that it is empty in the cell.
However most of the time it works fine... There is no problems... then maybe 2-3 times a week data is not inserting properly. I am at a loss to why this happens. The code is not changing, and it makes me wonder if the server is the problem or something?
Any ideas or possible solutions welcomed.