Just paste these 2 lines in you external file<br><br>require_once './includes/bootstrap.inc';<br>drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);<br><br>these are also included in index.php. These are for D6<br><br><div class="gmail_quote">
On Sun, Mar 25, 2012 at 8:28 AM, Gerald Klein <span dir="ltr"><<a href="mailto:jk@zognet.com">jk@zognet.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi I need to pull a dataset in an ajax file. What drupal includes to I need to use the drupal db connection. <div><br></div><div>thanks any help is appreciated</div><div><br></div><div>--jerry<span class="HOEnZb"><font color="#888888"><br clear="all">
<div><br></div>
-- <br><span style="border-collapse:collapse"><p style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><span style="border-collapse:collapse;font-size:small;font-family:arial"></span></p>
<p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">Gerald Klein DBA<u></u><u></u></p><p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
<a href="http://geraldklein.com/" style="color:rgb(17,85,204)" target="_blank">www.geraldklein.com</a><u></u><u></u></p><p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
<a href="mailto:jk@zognet.com" style="color:rgb(17,85,204)" target="_blank">jk@zognet.com</a><u></u><u></u></p><p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
<a value="+17085990352" style="color:rgb(17,85,204)">708-599-0352</a><u></u><u></u></p><p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
</p><p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><br></p><p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
Linux registered user #548580</p><p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><br></p><p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
<br></p></span>
</font></span></div>
<br>--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br></blockquote></div><br><br clear="all"><br>-- <br>Regards,<br>Vaibhav Jain<br>