Sinisterly
DATABASE - Printable Version

+- Sinisterly (https://sinister.ly)
+-- Forum: Coding (https://sinister.ly/Forum-Coding)
+--- Forum: PHP (https://sinister.ly/Forum-PHP)
+--- Thread: DATABASE (/Thread-DATABASE)

Pages: 1 2 3


DATABASE - Olaolu Bimpe - 06-14-2014

Pls can any one help me to fix dis errn. Am aving problem wif my data base setting, and d major point is d $dbtype=" cus i dnt kwn wht i will do to it. Pls help me it giving me problem

Code:
*/ /* Database Settings */ var $dbtype = 'mysql';#_9##_9##_9##_9##_9#// Normally mysql var $host = 'mysql.nazuka.net';#_9##_9##_9##_9#// This is normally set to localhost var $user = 'u460071484_raji';#_9##_9##_9##_9##_9##_9##_9#// MySQL username var $password = '**123456';#_9##_9##_9##_9##_9##_9#// MySQL password var $db = 'u460071484_raji';#_9##_9##_9##_9##_9##_9##_9#// MySQL database name var $dbprefix = 'Reg_';#_9##_9##_9##_9##_9#// Do not change unless you need to! /* Server Settings */



DATABASE - Olaolu Bimpe - 06-14-2014

Pls can any one help me to fix dis errn. Am aving problem wif my data base setting, and d major point is d $dbtype=" cus i dnt kwn wht i will do to it. Pls help me it giving me problem

Code:
*/ /* Database Settings */ var $dbtype = 'mysql';#_9##_9##_9##_9##_9#// Normally mysql var $host = 'mysql.nazuka.net';#_9##_9##_9##_9#// This is normally set to localhost var $user = 'u460071484_raji';#_9##_9##_9##_9##_9##_9##_9#// MySQL username var $password = '**123456';#_9##_9##_9##_9##_9##_9#// MySQL password var $db = 'u460071484_raji';#_9##_9##_9##_9##_9##_9##_9#// MySQL database name var $dbprefix = 'Reg_';#_9##_9##_9##_9##_9#// Do not change unless you need to! /* Server Settings */



RE: DATABASE - The Real Slim Shady - 06-14-2014

A. 'var' is deprecated. Why are you using it?

B. wtf is all this crap: #_9##_9##_9##_9##_9#

C. Did you just post your password? lol Thats a crap password


RE: DATABASE - The Real Slim Shady - 06-14-2014

A. 'var' is deprecated. Why are you using it?

B. wtf is all this crap: #_9##_9##_9##_9##_9#

C. Did you just post your password? lol Thats a crap password


RE: DATABASE - Olaolu Bimpe - 06-14-2014

See, my boss d script was send to me dats why. And inside d database, i was told nt to delet anyting. So pls. Help me pieces it pls. Help me out.


RE: DATABASE - Olaolu Bimpe - 06-14-2014

See, my boss d script was send to me dats why. And inside d database, i was told nt to delet anyting. So pls. Help me pieces it pls. Help me out.


RE: DATABASE - BlueCat - 06-14-2014

(06-14-2014, 02:05 AM)Olaolu Bimpe Wrote: Pls can any one help me to fix dis errn. Am aving problem wif my data base setting, and d major point is d $dbtype=" cus i dnt kwn wht i will do to it. Pls help me it giving me problem

Code:
*/ /* Database Settings */ var $dbtype = 'mysql';#_9##_9##_9##_9##_9#// Normally mysql var $host = 'mysql.nazuka.net';#_9##_9##_9##_9#// This is normally set to localhost var $user = 'u460071484_raji';#_9##_9##_9##_9##_9##_9##_9#// MySQL username var $password = '**123456';#_9##_9##_9##_9##_9##_9#// MySQL password var $db = 'u460071484_raji';#_9##_9##_9##_9##_9##_9##_9#// MySQL database name var $dbprefix = 'Reg_';#_9##_9##_9##_9##_9#// Do not change unless you need to! /* Server Settings */

Try this.

Code:
<?php $host = ""; $user = ""; $pass = ""; $db = ""; ?>



RE: DATABASE - BlueCat - 06-14-2014

(06-14-2014, 02:05 AM)Olaolu Bimpe Wrote: Pls can any one help me to fix dis errn. Am aving problem wif my data base setting, and d major point is d $dbtype=" cus i dnt kwn wht i will do to it. Pls help me it giving me problem

Code:
*/ /* Database Settings */ var $dbtype = 'mysql';#_9##_9##_9##_9##_9#// Normally mysql var $host = 'mysql.nazuka.net';#_9##_9##_9##_9#// This is normally set to localhost var $user = 'u460071484_raji';#_9##_9##_9##_9##_9##_9##_9#// MySQL username var $password = '**123456';#_9##_9##_9##_9##_9##_9#// MySQL password var $db = 'u460071484_raji';#_9##_9##_9##_9##_9##_9##_9#// MySQL database name var $dbprefix = 'Reg_';#_9##_9##_9##_9##_9#// Do not change unless you need to! /* Server Settings */

Try this.

Code:
<?php $host = ""; $user = ""; $pass = ""; $db = ""; ?>



RE: DATABASE - Ex094 - 06-14-2014

Or try this:

Code:
/* Database Settings */ $dbtype = "mysql"; // Normally mysql $host = "mysql.nazuka.net"; // This is normally set to localhost $user = "u460071484_raji"; // MySQL username $password = "**123456"; // MySQL password $db = "u460071484_raji"; // MySQL database name $dbprefix = "Reg_"; // Do not change unless you need to!

I don't see any mistakes but since those weird characters are not commented hence the PHP interpreter might throw you an error on the execution.


RE: DATABASE - Ex094 - 06-14-2014

Or try this:

Code:
/* Database Settings */ $dbtype = "mysql"; // Normally mysql $host = "mysql.nazuka.net"; // This is normally set to localhost $user = "u460071484_raji"; // MySQL username $password = "**123456"; // MySQL password $db = "u460071484_raji"; // MySQL database name $dbprefix = "Reg_"; // Do not change unless you need to!

I don't see any mistakes but since those weird characters are not commented hence the PHP interpreter might throw you an error on the execution.