[eluser]TheFuzzy0ne[/eluser]
Dod gammit! Upon pasting the code into Netbeans, it became apparent where the problem was.
I had:
Code:
$insert_str = rtrim($insert_data, ','); // $insert_data?? What the...?
and it should've been:
Code:
$insert_str = rtrim($insert_str, ',');
Again, I've edited my code. Please try it again. If that doesn't work, I'll continue setting up my test environment.