zohab Posted February 23, 2012 Share Posted February 23, 2012 Hi, I have contact form in my website project. Users fill First name ,Last Name ,Email etc information. I do not want to create database and table to store this information. I want to store this information in XML file. When user will add information then information will be added in XML file. Any solution for this ? - Thanks Quote Link to comment https://forums.phpfreaks.com/topic/257630-add-records-in-xml-file-and-use-as-database-table/ Share on other sites More sharing options...
Maq Posted February 23, 2012 Share Posted February 23, 2012 Your question, "Any solution for this ?", suggests you're asking for a 3rd party software to handle this, in the case I don't know and this is the wrong section. If you're writing this yourself, then of course there's a solution. After obtaining the values from the contact form create the XML document and use something like SimpleXML to insert he value(s) (specifically addChild). Quote Link to comment https://forums.phpfreaks.com/topic/257630-add-records-in-xml-file-and-use-as-database-table/#findComment-1320452 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.