I have made this connection and I found that my problem of error type LoadXML … is because the code is generated with a space as first character, then each token xml does not wrap.
PHP Code:
<? php
error_reporting (E_ALL ^ E_NOTICE);
require ("../ dhtmlxConnector / codebase / form_connector.php ");
$ res = mysql_connect ("localhost ", "root ","");
mysql_select_db ("CRM_OLD");
$ formConn = new FormConnector ($ res);
$ formConn-> render_table ("rights", "user_id", "organizer, organizer_rw, addressbook, addressbook_rw, monthly, monthly_rw, Employment, employment_rw, printing, administration);
?>
XML output (leading space is listed as by outout)
<? xml version = '1 .0 'encoding =' utf-8 '?>
My Db collating works with UTF8 collating.
Thanks
Best regards
Logic of connector is quite simple and it doesn’t add any whitespaces or formatting to the output xml.
- be sure that you are not using any code which will reprocess main script output
- be sure that any includes, which you are using with connector script has not any whitespace output beyond the <?php ?> tags.
Great!!!
i do not see a white space.
Thanks, many thanks.
Luigi