I know this is simple. I have a callback function callback
below:
function callback($id = '121-01927'){
watchdog('print', '%message : Sample',array('%message' => $id), WATCHDOG_DEBUG, $link = NULL);
}
After executing the callback function, I viewed watchdog
table in my database, and it says there.
%message : Sample
It seems my placeholder %message
is not substituted by the variable $id
. Where am I missing?
dpm($id)
to make sure the variable is being set correctly?