I have a code that dynamically search for data in the database using ajax but I can search for only 1 keyword in a time. I would like to modify it so I can search for multi
Just add an OR clause.
E.g.
SELECT * FROM links WHERE name LIKE '%$keyword1%' OR name LIKE '%$keyword2%'
But I strongly recommend you using a parametrized query or other safe library to avoid Sql Injection Attacks