I just need to make the call. http://api.linnlive.com/stats.asmx?op=SimpleGenericQuery
I want to use that, within a web page, to run a query and return the data, something like this:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://api.linnlive.com/stats">
<SOAP-ENV:Body>
<ns1:SimpleGenericQueryCSV>
<ns1:Token>INSERT YOUR TOKEN HERE</ns1:Token>
<ns1:sqlQuery>select * from stockitem where blogicaldelete = '1'</ns1:sqlQuery>
</ns1:SimpleGenericQueryCSV>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
But what do I do?
I've tried making an xml file and doing something like this:
<?php
$xml = simplexml_load_file("/lookup.xml");
echo "result: ".$xml
?>
But I get a blank, any ideas? What is the correct way?