<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1037046" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1037046</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/integration-question#comment-1213056</link>
    <description> &lt;p&gt;As an example of what to pass as a DSN (the first parameter of odbc_connect()) I found the IBM DB2 ODBC driver connection string &lt;a href=&quot;http://www-128.ibm.com/developerworks/db2/library/techarticle/dm-0502scott/?ca=dgr-phpw03PHPdatabaseApps&quot; class=&quot;bb-url&quot;&gt;in an article&lt;/a&gt; (good bit&#039;s 3/4 way through the article). It looks like this: -&lt;br /&gt;
&lt;code&gt;DRIVER={IBM DB2 ODBC DRIVER};HOSTNAME=localhost;DATABASE=dbname;PROTOCOL=TCPIP;PORT=1527;&lt;/code&gt;&#039;&lt;/p&gt;
 </description>
     <pubDate>Fri, 05 Jan 2007 07:25:03 +0000</pubDate>
 <dc:creator>JeevesBond</dc:creator>
 <guid isPermaLink="false">comment 1213056 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/integration-question#comment-1213055</link>
    <description> &lt;p&gt;I would guess the answer lies with ODBC; the Windows version of PHP comes with support for ODBC built-in. General information on PHP ODBC functions are available at: &lt;a href=&quot;http://www.php.net/odbc&quot; class=&quot;bb-url&quot;&gt;http://www.php.net/odbc&lt;/a&gt; (there&#039;s a useful function list at the bottom).&lt;/p&gt;
&lt;p&gt;As far as I can see, you open a connection with an &lt;a href=&quot;http://www.php.net/manual/en/function.odbc-connect.php&quot; class=&quot;bb-url&quot;&gt;odbc_connect()&lt;/a&gt;; query the database using the &lt;a href=&quot;http://www.php.net/manual/en/function.odbc-exec.php&quot; class=&quot;bb-url&quot;&gt;odbc_exec()&lt;/a&gt;; then close the connection using &lt;a href=&quot;http://www.php.net/manual/en/function.odbc-close.php&quot; class=&quot;bb-url&quot;&gt;odbc_close()&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;You iterate through the results in the following manner: -&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;while (&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$row &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;odbc_fetch_array&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$result&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;)) {&lt;br /&gt;&amp;nbsp;&amp;nbsp; echo &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$row&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;column_name&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;];&lt;br /&gt;&amp;nbsp;&amp;nbsp; ... &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;etc &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;...&lt;br /&gt;}&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;The remaining problem is finding out what to pass to the odbc_connect() function, particularly the first argument (the dsn). That&#039;s assuming ODBC is available for 4D at all! It should be in the software package somewhere, unfortunately a driver doesn&#039;t appear on their web site.&lt;/p&gt;
 </description>
     <pubDate>Fri, 05 Jan 2007 07:20:13 +0000</pubDate>
 <dc:creator>JeevesBond</dc:creator>
 <guid isPermaLink="false">comment 1213055 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/integration-question#comment-1213049</link>
    <description> &lt;p&gt;I haven&#039;t figured it out yet.. still trying to do it through 4D.&lt;/p&gt;
&lt;p&gt;The product, as far as I can tell, is simply 4th Dimension, but &lt;a href=&quot;http://www.4d.com&quot; class=&quot;bb-url&quot;&gt;4d.com&lt;/a&gt; is their web site.&lt;/p&gt;
&lt;p&gt;I posted on here in hopes someone might have an idea through a different methodology.&lt;/p&gt;
 </description>
     <pubDate>Fri, 05 Jan 2007 04:20:52 +0000</pubDate>
 <dc:creator>msaz87</dc:creator>
 <guid isPermaLink="false">comment 1213049 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/integration-question#comment-1213040</link>
    <description> &lt;p&gt;Did you ever figure out what to do?  Is 4D a particular database product by &lt;a href=&quot;http://www.4d.com?&quot; class=&quot;bb-url&quot;&gt;http://www.4d.com?&lt;/a&gt;  I am not clear if it is a standard relational database or something else.&lt;/p&gt;
 </description>
     <pubDate>Thu, 04 Jan 2007 23:37:36 +0000</pubDate>
 <dc:creator>FrankR</dc:creator>
 <guid isPermaLink="false">comment 1213040 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
