DiscoBiscuit Posted February 26, 2009 Share Posted February 26, 2009 Hi, I'm trying to create a live search function, rather than querying the database each time a change is made, I would like to create some xml which can be searched instead. Is there an equivalent of the SQL 'LIKE' clause that works on XML? Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/147062-searching-an-xml-document/ Share on other sites More sharing options...
premiso Posted February 26, 2009 Share Posted February 26, 2009 The database is going to be quicker and more efficient than the xml and much more easier/versatile. I would stick to that. To answer your question, stristr. Quote Link to comment https://forums.phpfreaks.com/topic/147062-searching-an-xml-document/#findComment-772055 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.