print contact us form using php

<?php
if(!function_exists(‘contact_site_form’)) {
include_once(drupal_get_path(‘module’,’contact’).’/contact.pages.inc’);
}
print drupal_render(drupal_get_form(‘contact_site_form’));
?>

Was this article helpful?

Related Articles