PHP Classes
elePHPant
Icontem

class.ADODB_XML.php PHP 5.5.12

Recommend this page to a friend!

      ADODB XML  >  All threads  >  class.ADODB_XML.php PHP 5.5.12  >  (Un) Subscribe thread alerts  
Subject:class.ADODB_XML.php PHP 5.5.12
Summary:adodb DATABASE => XML FAIL with PHP 5.5.12 "mysqli"
Messages:2
Author:angel
Date:2015-10-01 11:39:18
 

  1. class.ADODB_XML.php PHP 5.5.12   Reply   Report abuse  
angel - 2015-10-01 11:39:18
Call-time pass-by-reference has been removed.

<?php require_once('./adodb/xml/class.ADODB_XML.php'); ?>
<?php
include('./adodb/adodb.inc.php');
$objConnection = &ADONewConnection('mysqli');
$objConnection->Connect('localhost','root','','');
$tabla1='clientes';
$adodbXML = new ADODB_XML("1.0", "ISO-8859-1");
$adodbXML->ConvertToXML(&$objConnection, "SELECT * FROM clientes", "clientes.xml");
?>

  2. Re: class.ADODB_XML.php PHP 5.5.12   Reply   Report abuse  
Olavo Alexandrino - 2015-11-27 18:05:05 - In reply to message 1 from angel
Thanks! At the time it was coded it was allowed.