close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

MySQLI Query Export to XML File

Thread began 5/20/2019 8:40 am by anonymous | Last modified 6/11/2019 8:20 am by anonymous | 1108 views | 9 replies

anonymous

MySQLI Query Export to XML File

I have a query below and I need to export the data on the page to an XML file. Is it possible to do this with the Dreamweaver Extension?

<?php
$agreements2 = new WA_MySQLi_RS("agreements2",$sdpc_i,0);
$agreements2->setQuery("SELECT *, clause_agreement_type.clause_agreement_typeID as theclause_agreement_typeID, clause_obligation.clause_obligationID as theclause_obligationID, obligations.obligationID as theobligationID, benchmarks.benchmarkID as thebenchmarkID, contract_clauses.clauseID as theclauseID FROM agreement_types left join clause_agreement_type on agreement_types.agreement_typesID = clause_agreement_type.agreement_typesID left join contract_clauses on contract_clauses.clauseID = clause_agreement_type.clauseID left join clause_obligation on clause_obligation.clause_agreement_typeID = clause_agreement_type.clause_agreement_typeID left join obligations on obligations.obligationID = clause_obligation.obligationID left join obligation_benchmark on clause_obligation.clause_obligationID = obligation_benchmark.clause_obligationID left join benchmarks on obligation_benchmark.benchmarkID = benchmarks.benchmarkID WHERE agreement_types.agreement_typesID = ?");
$agreements2->bindParam("i", "".(isset($_GET['agreement_typesID'])?$_GET['agreement_typesID']:"") ."", "-1"); //colname
$agreements2->execute();?>

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...