In that page the SELECT to mysql db happens in the same table.
I would to know:
If I have two mysql tables.
How I can I obtain a SELECT in the first table writing within the first input text,
and a different SELECT in the second table writing within the second input text?
Or better in the code, how I can detect from what id input text the keyword has been written and so writing a conditional code based on that id in php side? (I think this is the solution. But I am not able to do that. :()
Could you help me to comprehend where is the line in the code that explain this?
I’m trying to modify the code without succes so many times… :injured:
I hope you can help me, please!!
many thanks really.
No. I have altready that two different tables and I don’t want to join them. I Don’t think that it’s a mysql question but a javascript and php.
The problem I think is to understand where in the code I can extract the id of the first input text and the id of the second one to create a condition in php and realize a valid ajax code.