Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~837 People Reached
About Me

i'm harikris

Favorite Forums
Favorite Tags
Member Avatar for harikris2007

Hello friends, In drupal 7 I have created a new form in theme.inc as follows: <?php function mymodule_example_form($form, &$form_state) { $form['Looking For']['PropertyCategory'] = array( '#type' => 'select', '#title' => t('Looking For'), '#options' => array( '' => t('Any'), Commercial => t('Commercial'), Residential => t('Residential'), ), ); $form['Type of Property']['PropertyType'] = array( …

Member Avatar for harikris2007
0
720
Member Avatar for harikris2007

pdf_download.php ........................................................................ <?php $file_name=$row['tcb_pdf']; header("Content-type: application/pdf"); header("Content-Disposition: attachment; filename=\"$file_name\""); $data=readfile("../new_books/".$file_name); echo $data; ?> home.php ............................................................................... <td align="center" valign="middle" bgcolor="#FFFFFF"><img src="images/rar.gif"><a href="pdf_download.php?name=<?php echo $row['tcb_pdf'] ?>"><img src="images/button_buy.jpg"></a></td> <td align="center" valign="middle" bgcolor="#FFFFFF"><img src="images/rar.gif"><a href="uploads/<?php echo $row['tcb_pdf'] ?>"><img src="images/untitled.bmp" width="43" height="17"></a></td> </tr>[code]hi, I need a help from anybody. I have a page with pdf …

Member Avatar for guru12
0
117