[FX.php List] FX: ExecuteQuery XML error: Invalid document end at
line 2 ?
Malcolm Fitzgerald
malcolm at notyourhomework.net
Thu Nov 26 16:28:14 MST 2015
On 27/11/2015 11:39 am, Tim 'Webko' Booth wrote:
> I use a fairly simple request - I've never used -dbnames...
>
> My request is:
> //Check if a findany to an available table works
> $pageObj=new FX($dbHost,$port,$dbType,$conType);
> $pageObj -> setDBPassword($dbPass,$dbUser);
> $pageObj -> setDBData($dbName,'Course Information Search', 'all');
> $pageData = $pageObj -> FMFindAny();
>
> How should I rewrite that?
>
searching for database names is very minimal. It usually doesn't require
an account. It may, if the setting that requires a user to authenticate
before it provides a list of databases is switched on.
$pageObj = new FX($dbHost,$port,$dbType,$conType);
$pageData = $pageObj->DoFXAction('view_database_names');
malcolm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20151127/d8073510/attachment.html
More information about the FX.php_List
mailing list