greetings, i am new @ drupal and i am trying to make a connection to my db from a blank page. so far, i have used the mysqli, db_query and some other commands that i have read. But everytime I get the following error: Fatal error: Call to undefined function. for example: Fatal error: Call to undefined function db_query(). I have tried to require the "include files" but it doesn't work.
any suggestion?
I use Drupal 6. And I am under set organic group to my website.
I need create 100 groups. Each groups has Taxonomy.
Each group has 1 admin(create, edit, delete post only)
100 groups' admin can see another group content, but they cannot post to another post.
Now each group's admin can create post to own group.
Eg:
They click "Create Group 1"
But when they visit another groups, (eg: group 3)
when they click "Create Group 1"
I feel dumb asking, but I need to put on my PHP training wheels again and ask. the below is contemplate template snippet that works just fine. It essentially outputs my field (to page) but I want to get the field title to display too. The field tile is either 'title' or 'description'. How do I write a foreach statement or equivalent to display associated titles/description? Any help would be appreciated.