I am currently making a website where I require a very advanced search engine. I want the users to be able to say Person @ company or Product @ Category. How would I detect the @ sign or any special characters, filter them out and make individual variables based on the returned string. So $a = Person and $b = company.
I am currently making a website where I require a very advanced search engine.
Share
You can use
explode()to split a string: