By vokalek on
How I can insert the img src in contact module.
if (count($categories) > 0) {
$form['#token'] = $user->uid ? $user->name . $user->mail : '';
$form['contact_information'] =
echo "<img src=\'http://www.optionsplusacademy.com/images/map.png\' alt=\'opis\' />";
$form['name'] = array('#type' => 'textfield',
'#title' => t('Your name'),
'#maxlength' => 255,
'#default_value' => $user->uid ? $user->name : '',
'#required' => TRUE,
I tried everything and it isn't works.
Comments
This'll do
This'll do it:
Thank's for reply. I changed
Thank's for reply.
I changed
'http://www.optionsplusacademy.com/images/map.png\'to"http://www.optionsplusacademy.com/images/map.png\"and everything is ok :)Thanks,