How can i replace name of the file with php echo

hi i have the above function but what i am trying to do is replace the above the name of the file with the one that will be queried from the database but i keep getting sintax error.
want to to put where it says filr name example (file1.mp4) with the ( <?php echo $filename?>) but i keep getting sintax error

echo "<td><a href='#' onClick=\\"jwplayer().load({'file': 'file1.mp4', 'hd.file': 'file2.mp4'})\\"> </td>";

As this directly relates to the question(s) in your other thread, I’m closing this one