Im trying to add some data to a database and cant seem to get it to work. Here is what i have so far. Any suggestions or advice please??
//are we adding a new track to the 'selected tracks' list
if (isset($_GET["action"]) && $_GET["action"]=="addTrack") {
$trackID=$_GET["trackID"];
INSERT INTO selectedtracks VALUES(trackID);
$dbQuery ="select id, trackID from selectedtracks";
$dbResult=mysql_query($dbQuery);
echo mysql_num_rows($dbResult)."\n";}