is there a way to change it so it can connect to 2 databases...
<?php
$con = mysql_connect("localhost","username","password");
if (!$con)
{
die('Could not connect: ' . mysql_error());
}
mysql_select_db("databasename", $con);
?>
How could I make it so each time someone goes to a page it adds +1 to a field named 'pageviews' but only adds +1 to the the approriate ID.. i.e if page is page.php?id=3 .. +1 is only added to the field 'pageviews' for id 3.. everything ive tried just adds +1 to every row
is there anything i...