Hi Ben,<br><br>Followed your instructions but now get:<br><br>&quot;Unable to include adodb.inc.php&quot;<br><br>Instead of my home page.<br><br>Any ideas?<br><br>Thanks,<br><br>Jon<br><br>Hi<br><br><div><span class="gmail_quote">
On 9/26/07, <b class="gmail_sendername">Ben Stallings</b> &lt;<a href="mailto:ben@interdependentweb.com">ben@interdependentweb.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Jon Fowler wrote:<br>&gt; I took out the Select Query with comment so my config now looks like:<br>&gt;<br>&gt; $Databases[&#39;connection_name&#39;] = array(<br>&gt; &#39;driver&#39; =&gt; &#39;mysql&#39;,<br>&gt; &#39;hostname&#39; =&gt; &#39;
<a href="http://sql2.byethost13.com">sql2.byethost13.com</a> &lt;<a href="http://sql2.byethost13.com">http://sql2.byethost13.com</a>&gt;&#39;,<br>&gt; &#39;database&#39; =&gt; &#39;b13_961097_central&#39;,<br>&gt; &#39;username&#39; =&gt; &#39;b13_961097&#39;,
<br>&gt; &#39;password&#39; =&gt; &#39;lionheart&#39;);<br><br>Looks fine, except I&#39;d recommend you change &#39;connection_name&#39; to<br>something meaningful to you, such as &#39;central&#39;.<br><br> &gt; #$FarmD/cookbook/selectquery.php
<br><br>This is probably why your wiki disappeared, when the line wasn&#39;t<br>commented out.&nbsp;&nbsp;The syntax for including a file is<br><br>include &quot;$FarmD/cookbook/selectquery.php&quot;;<br><br>or if you&#39;re using DataQuery instead,
<br><br>include &quot;$FarmD/cookbook/dataquery.php&quot;;<br><br>&gt; Also I can&#39;t find any simple info on how to call a table. Is there a<br>&gt; guide on this I&#39;m missing? Or something simple on MySQL syntax?<br>
&gt;<br>&gt; Sorry for being dim. I&#39;ll write the guide for other dummies once I get<br>&gt; it...!<br><br>Yah, I realize the docs could use some work, and thanks for your offer<br>to help!&nbsp;&nbsp;If you&#39;re going to use DataQuery, then assuming you have the
<br>include_once line above, your next step is to go to the<br>DataQuery.DataQuery page of your wiki and see if you can list the<br>contents of the table.&nbsp;&nbsp;See instructions at<br><a href="http://workscited.net/dataquery/Main/StatusScreen">
http://workscited.net/dataquery/Main/StatusScreen</a> .<br><br>You may also want to install DataPlates, as it will save you a lot of<br>work creating templates.<br><br>Let me know how it goes!&nbsp;&nbsp;--Ben<br></blockquote></div>
<br>