1 | |||||
2 | <?php |
||||
3 | switch (isset($_GET['act']) && $_GET['act']) { |
||||
4 | |||||
5 | default: |
||||
6 | |||||
7 | $gtampil = mysql_query("SELECT * FROM informasi_perusahaan where id_informasi_perusahaan = '1'"); |
||||
0 ignored issues
–
show
|
|||||
8 | $g = mysql_fetch_array($gtampil); |
||||
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. ![]() |
|||||
9 | |||||
10 | if ($g['pict']) { |
||||
11 | $pict = $g['pict']; |
||||
12 | } else { |
||||
13 | $pict = ''; |
||||
14 | } |
||||
15 | |||||
16 | ?> |
||||
17 | <div class="col-md-12 col-sm-12 col-xs-12 center-block"> |
||||
18 | <div class="x_panel"> |
||||
19 | <div class="x_title"> |
||||
20 | <h3><span style="font-weight: bold;"><?=$g['company']?> </span></h3> |
||||
21 | <h5><span><?php echo $g['address'].' '.$g['city'].' '.$g['state'].', '.$g['prov'].' '.$g['zip']; ?></span></h5> |
||||
22 | <h5><span>Telepon : <?=$g['phone']?> </span></h5> |
||||
23 | </div> |
||||
24 | |||||
25 | |||||
26 | <img src="./images/logo/logo.png" style="padding:2px;" width='42%' class="center-block"> |
||||
27 | </div> |
||||
28 | </div> |
||||
29 | <?php |
||||
30 | } |
||||
31 | ?> |
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.