I am trying to submit data from a single textarea such that for example, the textarea will be filled like so,
Nissan
Ford
Toyota
and when submitted, the query will look like this with the data submitted into the WHERE clause:
SELECT ve.cars, sp.engine
FROM vehicles AS ve INNER JOIN specs AS sp ON ve.id=sp.id
WHERE ve.cars IN ('Nissan','Ford','Toyota')
GROUP BY ve.cars, sp.engine;
Is it possible to do this?