Alright, haha, so I've been hammering at some basic stuff and I'm just simply at a loss...
<?php
$con = mysql_connect("localhost", "X", "X");
$db = "X";
$conn = mysql_select_db($db, $con);
$sql = 'SELECT * FROM users';
$userlist = mysql_query($sql, $conn);
echo $userlist;
mysql_close($con);
?>
I get this
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/pulpjuic/public_html/learning/index.php on line 14
I realize there's a lot of junk, it's the result of brute force when tutorial examples produced the same problem as the warning or fatal errors, etc. Before I had issues with database select
Your help is appreciated