1.
$connection="mysql_connect('localhost', 'admin', '1admin') or die(mysql_error())";// host account password
If I may ever so gnetly ask a dumb question, why is the function call inside quotes? This results in $connection containing the string you see, rather than a handle referencing the desired database connection. To actually execute mysql_connect, you need to remove the double quotes.