Plz help me experts below is my code i am making use of form for textfield and submit button in test_qform form but in the o/p i am getting nothing.i am getting array printed on page insted of textfield and submit button
<?php
// $Id: downloadmgr.module,v 1.7.4.4 2007/02/26 00:41:12 codepoet Exp $
/**
* Implementation of hook_help().
*
*/
function downloadmgr_help($section) {
switch ($section) {
case 'node/add#downloadmgr':
// This description shows up when users click "create content."
return t('Module for downloading jB5, our truly mobile browser.');
case 'admin/downloadmgr':
return t('Download Manager for jB5');
}
}
/**
* Implementation of hook_node_info().
*
*/
function downloadmgr_node_info() {
return array('downloadmgr' => array(
'name' => t('downloadmgr'),
'module' => 'downloadmgr',
'description' => 'Download Manager for jB5'));
}
/**
* Implementation of hook_access().
*
*/
function downloadmgr_access($op, $node) {
if ($op == 'create') {
return user_access('manage downloads');
}
}
/**
* Implementation of hook_perm().
*
*/
function downloadmgr_perm() {
return array('manage downloads');
}
/**
* Implementation of hook_menu().
*
*/
function test_add() {
// initial form...
global $user;
drupal_set_title(t("Download mobile browser/ Nokia browser/ Windows mobile browser"));