PHP Problem

$dbhost = 'www.hmcdoha.com';
$dbuser = 'hmcdoha_hari';
$dbpass = 'haritamang';
$conn = mysql_connect($dbhost, $dbuser, $dbpass) or die                      ('Error connecting to mysql');
$dbname = 'hmcdoha_hari';
mysql_select_db($dbname);

I have create database name hari at www.hmcdoha.com and
Passport haritamang. While I try to connect Mysql I can’t connect there is problem
Can u solve this problem?

Code without effect in variable_set and variable_del

Hi everybody,
May be I make a mistake, but I think there is code without effect in functions variable_set and variable_del.

The start of the function create a copy of the global variable $conf, using the keyword global. After that, the local copy is mofified using $conf[$name] = $value for variable_set, and unset($conf[$name]) for variable_del.

And this is the copy which is modified, not the global instance $GLOBALS['conf'], perhaps what is wanted in the function.

Drupal installation

I am running drupal 6.2.
I am on linux redhat enterprise 3
apache 2
php5.2

I have mysql installed. The problem seems to be that the application is not reading the configuration file.
When I watch the $db_url variable it is always null.

Tiny mce editor

how to configure tiny mce editor in mysite. my drupal version is 4.7.

few questions before using drupal for production websites ?

so i have installed drupal on 2 websites and i have few questions regarding that before i can start working on the websites and put them in production

1. Is it possible in drupal that i can integrate 2 websites toghter so when i post a story on one website it automatically get posted on the other one and vice versa ?
2. I will like to have the stories links in a side block where the titles will be displayed for the 10 recent stories posted ?
3. Is there a module i can use to display the tags when posting the stories?

Loading content into sidebar region - possible?

I'd like to load content into the $sidebar_left region instead of the default $content. Taking an example, there is currently an option in my private messages block to 'Write Message'. When a user clicks on this link I'd like the content to load into a block (or sidebar region) and not replace the existing content of the page.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 4.5.x or older