[support] are mysql queries in drupal possible?

spartaguy spartaguy spartaguy300 at gmail.com
Sat Nov 14 04:47:05 UTC 2009


Hi,

 How can add an item to the Primary links Menu that will do a basic select
query within drupal?
ie Lets say I have a mysql database "database1"  and a table "table1" with
the following fields (name, address, email etc)

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?

Is this possible?


Paul


ps. The result would be something like:

Joe Blow        |       123 abc avenue     |     joeblow at applecart.org
Joe Blow1      |       12323 abc avenue     |     joeblow1 at applecart.org
Joe Blow2     |       12323 abc avenue     |     joeblow2 at applecart.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20091114/e4739852/attachment.html 


More information about the support mailing list