That's because your insert syntax is wrong 😉 The way you have it works for updates, but not insert. Try this:
$sql = "INSERT INTO test (url, long, lat, desc) VALUES ('$url', '$long', '$lat', '$desc')";
$rs = mysql_query($sql, $connection) or die(mysql_error());
Just a tip for debugging there. At the end of all your queries, you might want to chuck in the or die(mysql_error()), because that will tell you straight off if there's a problem with the query, and what it is. Try not to use it on a production server though, because it will allow a malicious user to get information about your database structure.
Hope that helps!
Matt