I'm passing a string with AJAX and trying to find the mySQL db entry that contains the string in one of its columns. I think the string passing is OK but perhaps the mySQL code is incorrect?
$id = ($_POST['video_id']);
$text_result = mysql_query("SELECT * FROM `wmtwDB` WHERE `url` LIKE (" . $id . ") LIMIT 1");