PS: Meine Kenntnisse für MySQL-Befehle sind sehr überschaubar. Reicht gerade so zum abrufen, ändern und löschen von datensätzen. Daher weiß ich auch nichts mit dem $sqlconnection anzufangen.
Kein Problem, mysql_query() hat auch recht wenig mit MySQL zu tun.
resource mysql_query(string $query [,resource $link_identifier])
link_identifier
The MySQL connection. If the link identifier is not specified, the last link opened by mysql_connect() is assumed. If no such link is found, it will try to create one as if mysql_connect() was called with no arguments. If no connection is found or established, an E_WARNING level error is generated.