I'm trying to get information from my database plus it's not returning content, just a fake boolean:
require_once "config.php"; // database
$sql = mysql_query("SELECT * FROM home") or die("MySQL error:".mysql_error());
$result = mysql_fetch_array($sql);
var_dump($result);
//echo $result['conteudo'];
while($info = mysql_fetch_array( $sql )) {
echo $info['conteudo'];
}
A photo of the result: link
Any idea what might be happening?