I have a database query that automaticaly generates an id using the auto increment feature of mysql.
When I insert something into this table I want to get the value for the id it just generated.
is that possible to assign/have different logo for diiferent roles?
scenario:
each people is assign with a role, which is based on the state that person is from
people from state A would have the state A logo...state B would have its own as well as other states
I'm pretty new to drupal and PHP development and the PHP book I got doesn't really talk about debuggers too much. I saw this thread about debuggers but I'm curious about just how important debuggers are to drupal module development. Is it a must-have in the developer's toolbox? Does it make developing a module faster?
I assume that the best way to do it is have a local dev environment and have a debugger installed on it.
Currently I am working on setting up a community using Drupal. I've done quite a bit of work, but one feature that I need is the ability to censor certain URLs.
I pretty much want to stop members from posting URLs linking to certain sites.
I suck at PHP but can do a bit of work in it, so if someone could give me a bit of a shove in the right direction, that'd be nice.
I'm searching for a module that enables text section selections for comments as is possible in Adobe (if you rollover the items the feedback pops up) or the Word version (a line from the section to a comment box). I've googled it, but haven't found the right module yet.
Would any of you be so kind to tell me if it exists and what the name is please? It's for a community for text reviews basically. I'm working on an IIS server :s. (If anyone has advice about possible crashes because of this, let me know!)
Following this doc I wrote a function mymodule_block to define block. Then I went to Drupal admin and found that admin block disappeared. Function code is below. What did I do wrong?