<br><br>Hi,<br><br> How can add an item to the Primary links Menu that will do a basic select query within drupal?<br>ie Lets say I have a <span class="il">mysql</span> database "database1" and a table "table1" with the following fields (name, address, email etc)<br>
<br>How can I add a menu item to the Primary Links menu that will do a
select * from table1 and then print it out in the right hand panel?<br><br>Is this possible? Does it have to be the same database drupal uses or can I query a different db?<br><br><br>Paul<br><br><br>ps. The result would be something like:<br>
<br>Joe Blow | 123 abc avenue | <a href="mailto:joeblow@applecart.org" target="_blank">joeblow@applecart.org</a><br>Joe Blow1 | 12323 abc avenue | <a href="mailto:joeblow1@applecart.org" target="_blank">joeblow1@applecart.org</a><br>
Joe Blow2 | 12323 abc avenue | <a href="mailto:joeblow2@applecart.org" target="_blank">joeblow2@applecart.org</a><br>