MySQL problem
-
The problem is, when you reload the page, the MYSQL sample remains, it is not removed, but only increases by one each time, how to do so that it does not increase.
Here's the code.
$result = mysql_query('SELECT `school` . `school`, `street` FROM `datacenter`, `school` WHERE `datacenter` . `id_school` = `school` . `id_school` AND `datacenter` . `name` = "'.$name_teacher.'"');
while( $row = mysql_fetch_array( $result )) {
echo $row[0];
echo $row[1];
echo $row[2];
♪
-
We need to re-entry the data.