require_once()?

I have a question about this function, below I have 2 screenshots of my site,

  1. I used this

<?
if(isset($_POST['submit'])) {
//require_once("db_conn.php");
$hostname = "***";
$username = "***";
$password = "***";
$database = "***";
$connection = mysql_connect($hostname , $username , $password)
or die(mysql_error());
$db = mysql_selectdb($database , $connection)
or die("cannot find database");
 

and all seems ok.
But when I use only the require_once() thing, I get #2

heres the code in the db_conn.php file (which is in the same directory)


$hostname = "***";
$username = "***";
$password = "***";
$database = "***";
$connection = mysql_connect($hostname , $username , $password)
or die(mysql_error());
$db = mysql_selectdb($database , $connection)
or die("cannot find database");


What gives?

oh, got it, use ’ instead of "