CrazyImpling
New Member
- Reaction score
- 3
I'm working on creating a CMS just because I'm bored of using premade things and wanted to make my own.
So I have the base code for my PHP statement:
And it gives me an output of:
Any help?
So I have the base code for my PHP statement:
PHP:
<?php
$con = mysql_connect(localhost);
if (!$con)
{
die('Could not connect: ' . mysql_error());
}
mysql_select_db("ms_site", $con);
$query = "SELECT * FROM ms_news";
$result = mysql_query($query);
echo $result;
?>
And it gives me an output of:
Code:
Resource id #3
Any help?