I think this is the problem: Hard to see, so I'll do it in steps:
$query = "select *
from movies, music
where movies.Title like '%".$search."%'", && music.Title like '%".$search.'%";
Specifically:
where movies.Title like '%".$search."%'", && music.Title
More specifically:
$search."%'" <<<< that last double quote right there
OOPS found another problem:
like '%".$search.'%"; <<needs better quotes to wit:
like '%".$search."%'"; << this should work
also I'm not sure that && works in most SQL; prefer AND
I think this will work:
$query = "select *
from movies, music
where movies.Title like '%".$search."%',
AND music.Title like '%".$search."%'";
ALSO DON'T FORGET: You've done a join without any join criteria so you're going to get a ton of useless data (a cartesian product).
You need to add join criteria, that would look something like
AND movies.MusicID=Music.ID
using whatever foreign key connects these 2 tables.
PS: You don't really need to concat that query string using " . "
You can just quote it:
$query = "select *
from movies, music
where movies.Title like '%$search%',
AND music.Title like '%$search%'";