I have a URL from where i am trying to get data value and display in a table. Its a single data , no loop.
I use file_get_contents php function
<?xml version="1.0" encoding="utf-8"?>
<ArrayOfConsignment xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://tempuri.org/">
<Consignment>
<ERROR />
<DOCKNO>A0000001</DOCKNO>
<PICKUP_DATE>13 Apr 2015 & 9:54PM</PICKUP_DATE>
<ORDER_NO>2341</ORDER_NO>
<CURRENT_STATUS>DELIVERED</CURRENT_STATUS>
<TRACKING_CODE>T002</TRACKING_CODE>
</Consignment>
</ArrayOfConsignment>
Now i want to catch each data field like Pickup date , Order No etc and display in a table .
Can anyone help me on this ??
Also can i use this using CURL ? Please share the code if you have .
Thanks a lot for your help