1 | <?php |
||||
2 | |||||
3 | include '../../config/koneksi.php'; |
||||
4 | |||||
5 | $q = intval($_GET['q']); |
||||
6 | |||||
7 | $tampil = mysql_query("SELECT term FROM supplier WHERE id_supplier = '".$q."'"); |
||||
0 ignored issues
–
show
|
|||||
8 | |||||
9 | $r = mysql_fetch_array($tampil); |
||||
0 ignored issues
–
show
The function
mysql_fetch_array() has been deprecated: 5.5 Fetch a result row as an associative array, a numeric array, or both
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This function has been deprecated. The supplier of the function has supplied an explanatory message. The explanatory message should give you some clue as to whether and when the function will be removed and what other function to use instead. ![]() |
|||||
10 | |||||
11 | $term = $r['term']; |
||||
12 | |||||
13 | ?> |
||||
14 | |||||
15 | <input type="text" name="term" id="term" value="<?php echo $term; ?>" class="form-control" readonly> |
||||
16 | |||||
17 | <?php |
||||
18 | //mysqli_close($con); |
||||
19 | ?> |
This function has been deprecated. The supplier of the function has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the function will be removed and what other function to use instead.