I have in my code,
mysql_query("INSERT INTO 80sMusicLibraryUserNumPageVisits (userNum, date, page) VALUES ('$userNum', '$dateToday', '$newUrl')");
It will write a record of:
1 2014-02-16 1980
wich would be correct. I'm user 1 because I was the first on the site. Date and page is also correct. But, it will follow with a record of:
1 2014-02-16 missing.html
Why is it doing this??
It does it every time. I even went to the site on my phone and it did the same thing.
This is the only query to this table. It is not in a loop. It is not in a function.
Where did the value "missing.html" come from, and how could the $newUrl variable be set to that? I have no page called that.
mysql_query("INSERT INTO 80sMusicLibraryUserNumPageVisits (userNum, date, page) VALUES ('$userNum', '$dateToday', '$newUrl')");
It will write a record of:
1 2014-02-16 1980
wich would be correct. I'm user 1 because I was the first on the site. Date and page is also correct. But, it will follow with a record of:
1 2014-02-16 missing.html
Why is it doing this??
It does it every time. I even went to the site on my phone and it did the same thing.
This is the only query to this table. It is not in a loop. It is not in a function.
Where did the value "missing.html" come from, and how could the $newUrl variable be set to that? I have no page called that.