home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Webmastering and Programming
Ask a Tech Support Question (free)!

help am lost

Reply
Get bargains at  »  Dealighted.com
 
Thread Tools Search this Thread
Currently Active Users: 1533
Discussions: 200,984, Posts: 2,379,851, Members: 246,349
Old June 12th, 2003, 05:27 PM   Digg it!   #1 (permalink)
Member
 
mossopinc's Avatar
 
Join Date: Dec 2002
Posts: 203
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?

Last edited by mossopinc : June 12th, 2003 at 05:30 PM.
mossopinc is offline   Reply With Quote
Old June 13th, 2003, 12:12 AM     #2 (permalink)
Member
 
gothic's Avatar
 
Join Date: Oct 2001
Location: Palatine, IL
Posts: 375
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
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Most Active Discussions
Is It Just Me? (3063)
Charges against non-tippers dropped.. (20)
Health Care Rationing (11)
Delete an OS (16)
Nvidia GTX 260 problem (9)
Laptop with wireless problem. (12)
windows vista security holes (19)
Wireless Televisions. (12)
CPU fan stops spinning randomly (11)
Regular Build (11)
Point and Shoot Camera Suggestions. (7)
windows 7 problem (7)
Internet Lost (5)
[F@H SPAM 11/16/09] ! 1/2 months to.. (39)
Recent Discussions
[F@H SPAM 11/16/09] ! 1/2 months to r.. (39)
windows vista security holes (19)
updating BIOS via winflash, claims fi.. (1)
New Server Configuration Suggestions (0)
Desktop Calendar Application (0)
cheap gaming laptop? (12)
Unallocated Space (2)
help me pls laptop just stopped worki.. (1)
C# + LINQ Help (7)
Nvidia GTX 260 problem (9)
Dynex DX E-402 (3)
EVGA 9800 gtx help with finding a goo.. (12)
Multiple Restarts Required at Boot (5)
Point and Shoot Camera Suggestions. (7)
Delete an OS (16)
cell phone won't work (0)
Is the PSU I received dead? (15)
Can't open Word (12)
Steam ID's, Gamertags etc... (4)
Games, Cables, PCI cards, and more fo.. (6)
Dept. of HS: NSA 'Helped' Develop Vis.. (17)
Linksys WMP54GS wireless card problem.. (5)
Help getting around port 80 for camer.. (5)
Skillsoft Network+ Study Software Que.. (10)
Browsers wont load websites (3)


All times are GMT -4. The time now is 03:39 AM.
TechIMO Copyright 2009 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28