Quote Originally Posted by Drummin View Post
So you've fixed all errors...
usename = username
channel_name = channel_username
Duplicate empty($v_title)
Changed OR to ||

Established the $db is resource
Escaped all data before insert into database
Checked that all database field names match.

Then I would suggest adding mysqli_error($db) to your query.
PHP Code:
$db->query("INSERT INTO submitted_forms (`username`,`rank`,`channel_username`,`video_link`,`video_title`,`video_description`,`video_tags`,`music_sources`,`special_requests`) VALUES ('$username','$rank','$c_name','$v_link','$v_title','$v_desc','$v_tags','$m_sources','$s_requests')") or die(mysqli_error($db)); 
I still have this error "Call to a member function query() on a non-object on line 37" And its this
$getRank = $db->query("SELECT * FROM users WHERE username = '".$_SESSION['username']."'");
        while ($row = $getRank->fetch_assoc())