ok last time i ask for help (today)


#1

sorry bout asking so many questions guys.

any idea why my text wont display with this code?

[php] <?php include (“Connections/local.php”);
mysql_select_db($database_local, $local);
$query = mysql_query(“SELECT main_title, main_content FROM main”);
while($main = mysql_fetch_assoc($query)) {
echo ‘

’ . $main[‘main_title’] . ‘

’;
echo ‘

’ . $main[‘main_content’] . ‘

’;
} ?>[/php]

#2

nvm upon further investigation, my sql somehow magicly deleted itself =\ this is why u dont let co-workers touch a compur working on