this is a part of my code that has some error within:
<?php
$db = mysql_connect("localhost", "****t", "*********");
mysql_select_db("my_db", $db);
$code_max = mysql_query("select max(code) as code from my_table");
$code_get = mysql_fetch_array($code_max);
echo $code_get;
?>
"code" is a column under my_table with the style of 'xx000' (xx are letters and 000 are pure integers), and is set to varchar.
why do i get "Array" as an output?
i've also tried mysql_fetch_row and mysql_fetch_assoc and a couple other ones, although non-related to what i want.