»
 

Go Back   ResellerRatings Store Ratings > ResellerRatings Forums > Tech Support

Reply
 
LinkBack Thread Tools Display Modes
Old 06-12-2003, 02:27 PM   #1 (permalink)
Registered User
 
mossopinc's Avatar
 
Join Date: Dec 2002
Posts: 125
mossopinc is on a distinguished road
help am lost

im trying to add a wee chat room to ma site but got stuck so can someone give me a clue please.

im upto this part ive put in ma DB name ma user name and pass but stuck at stuff below it

// ------ THESE SETTINGS MUST BE COMPLETED ------

// Database settings
define("C_DB_TYPE", 'mysql'); // SQL server type ("mysql", "pgsql" or "odbc")
define("C_DB_HOST", 'localhost'); // Hostname of your MySQL server
define("C_DB_NAME", 'my DB name here); // Logical database name on that server
define("C_DB_USER", 'my user name); // Database user
define("C_DB_PASS", 'my password '); // Database user's password


this bit im stuck (how stuff at top is ok) wat do i need to put in??

define("C_MSG_TBL", 'c_messages'); // Name of the table where messages are stored
define("C_USR_TBL", 'c_users'); // Name of the table where user names are stored
define("C_REG_TBL", 'c_reg_users'); // Name of the table where registered users are stored
define("C_BAN_TBL", 'c_ban_users'); // Name of the table where banished users are stored


this is the error i get

MY problem

__________________
If practice makes perfect and nobodys perfect why practice?


<p><p><font face="verdana, arial, helvetica" size="2" >__________________<br>
<a href="mailto:me@shaunrowe.com"><img src="http://www.shaunrowe.com/images/genie_sig.jpg" border="0" alt=""></a></font></p></p>

Last edited by mossopinc; 06-12-2003 at 02:30 PM.
mossopinc is offline   Reply With Quote
Old 06-12-2003, 09:12 PM   #2 (permalink)
Registered User
 
gothic's Avatar
 
Join Date: Oct 2001
Location: Palatine, IL
Posts: 375
gothic is on a distinguished road
Well, I'm going to assume your DB name is 'DB_nacs7512' ..

Inside that DB, you need to create tables for the messages, users, reg_users, and ban_users...

You could leave the names exactly like they are, and just create the tables.

You will also need to find out what fields need to be in the those tables, and I will assume the documentation for your chat server program will tell you.
gothic is offline   Reply With Quote
Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Most Active Discussions

Recent Discussions

All times are GMT -6. The time now is 08:59 PM.