How to use javascript variable in php sql query

I am running a mysql select query in php like this

Chủ Đề