Thank you bcworkz again,
i just wanted to make sure if i have to add the $ infront of all database informations.
The $ is used to denote PHP variables. Quotes ' ' denote PHP string literals. You can pass either type to most PHP functions or to class constructors. To use a variable, it first needs to have a value (such as a string literal) assigned to it. For example, you could do this:
php_function('string literal');
Or do this, which results in the same thing:
$php_variable = 'string literal';
php_function( $php_variable );
Or for functions or constructors that take multiple parameters, you can pass a mix of variables and strings, whatever is most expedient for your situation.