Jump to content

Add records in xml file and use as database table


zohab

Recommended Posts

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

 

 

Link to comment
Share on other sites

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).

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.