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. 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. Link to comment https://forums.phpfreaks.com/topic/147062-searching-an-xml-document/#findComment-772055 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.