<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Retrieve Table Data from MySQL in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Retrieve-Table-Data-from-MySQL/m-p/1012520#M34726</link>
    <description>&lt;P&gt;Hi Guys&lt;/P&gt;

&lt;P&gt;I'm new to Intel XDK, I spent the whole day trying to access data from MySQL, just couldn't do it. Is there anyone who can help me with the steps to retrieving MySQL data?&lt;/P&gt;

&lt;P&gt;TK&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 21 May 2015 21:06:13 GMT</pubDate>
    <dc:creator>Takura_T_</dc:creator>
    <dc:date>2015-05-21T21:06:13Z</dc:date>
    <item>
      <title>Retrieve Table Data from MySQL</title>
      <link>https://community.intel.com/t5/Software-Archive/Retrieve-Table-Data-from-MySQL/m-p/1012520#M34726</link>
      <description>&lt;P&gt;Hi Guys&lt;/P&gt;

&lt;P&gt;I'm new to Intel XDK, I spent the whole day trying to access data from MySQL, just couldn't do it. Is there anyone who can help me with the steps to retrieving MySQL data?&lt;/P&gt;

&lt;P&gt;TK&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 May 2015 21:06:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Retrieve-Table-Data-from-MySQL/m-p/1012520#M34726</guid>
      <dc:creator>Takura_T_</dc:creator>
      <dc:date>2015-05-21T21:06:13Z</dc:date>
    </item>
    <item>
      <title>It depends on the programming</title>
      <link>https://community.intel.com/t5/Software-Archive/Retrieve-Table-Data-from-MySQL/m-p/1012521#M34727</link>
      <description>&lt;P&gt;It depends on the programming language of your server, The Intel XDK library does not have direct interaction with the server, for example if you are using PHP in your server:&lt;/P&gt;

&lt;P&gt;// file.php in your server&lt;/P&gt;

&lt;PRE class="brush:php;"&gt;&amp;lt;?php
$conn = mysql_connect('localhost', 'user', 'password') or die('Could not connect: ' . mysql_error());
mysql_select_db('bd', $conn);
$sql = mysql_query("SELECT * from users");
echo json_encode($sql);
?&amp;gt;&lt;/PRE&gt;

&lt;P&gt;and then in the XDK app:&lt;/P&gt;

&lt;PRE class="brush:jscript;"&gt;intel.xdk.device.getRemoteData("http://yourserver.com/file.phpl", "GET","","success_handler","error_handler");

function success_handler (data) {  alert("success: " + data); }
function error_handler(data) {  alert("error: " + data); }&lt;/PRE&gt;

&lt;P&gt;check this link:&amp;nbsp;&lt;A href="https://software.intel.com/es-es/node/493009"&gt;https://software.intel.com/es-es/node/493009&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 May 2015 00:20:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Retrieve-Table-Data-from-MySQL/m-p/1012521#M34727</guid>
      <dc:creator>Abel_G_</dc:creator>
      <dc:date>2015-05-22T00:20:16Z</dc:date>
    </item>
  </channel>
</rss>

