With this PHP5 Class you are now able to:
- Create an XML file from MySQL Query
- Insert all XML Content into a MySQL table
- Create/Insert work as Export/Import! So you have php-friendly way to backup data of a table
- Create sitemap from a full MySQL table or just a query
- Easy way to get class-failure errors
- Easy way to display generated xml (with or without header) and save the data into .xml file
- Full examples included
Examples
Creating XML from MySQL query:
$xml->SQLtoXML(mysql_query("SELECT * FROM your_table")); $xml->show(3, 'your_file.xml');
Import a XML content into your MySQL table:
$xml->XMLtoSQL($xml_string, 'your_table');
Creating Sitemap:
$xml->table = 'my_table'; $xml->changefreq = 'changefreq_field'; $xml->lastmod = 'lastmod_field'; $xml->url = 'url_field'; $xml->Sitemap(); $xml->Show(3, 'sitemap.xml');
‘Catching errors’
if($count($xml->errors) > 0) { echo 'Something went wrong!<br />'; print_r($xml->errors); }
Testimonials
It took just 5 mins to buy, download & upload the files on my server and get this gem of a script working.
You saved me HOURS and HOURS of work!
The examples were really helpful.
Rating will be really appreciated.
Questions? Suggestions? Please, don’t doubt to leave a comment!
[eltd_button size=”huge-full-width” type=”outline” text=”Download & Demo Links” custom_class=”#” icon_pack=”font_awesome” fa_icon=”” link=”” target=”_blank” color=”” hover_color=”” background_color=”” hover_background_color=”” border_color=”” hover_border_color=”” font_size=”” font_weight=”” margin=””]
Demo = MyXML – Work with MySQL+XML
[eltd_button size=”huge” type=”” text=”Full Live Demo” custom_class=”” icon_pack=”font_awesome” fa_icon=”fa-laptop” link=”https://codecanyon.net/item/myxml-work-with-mysqlxml/699771″ target=”_blank” color=”” hover_color=”” background_color=”” hover_background_color=”” border_color=”” hover_border_color=”” font_size=”” font_weight=”” margin=””]
Kindly Note: We update new contents like WordPress Themes, Plugins, PHP Scripts everyday. But remember that you should never use this items in a commercial website. All the contents posted here for development & testing purpose only. We’re not responsible for any damage, use at your own RISK! We highly recommend to buy MyXML – Work with MySQL+XML from the The Developer ( Sourcegeek ) website. Thank you.
Download = MyXML – Work with MySQL+XML-[Updated].zip