I recently tried to set up a flash chat on my web site, but honestly since im new to php &
creating “tables” im finding myself having trouble doing something that shouldve taken 6 minutes.
I think I just need to point stuff to certain directories, but am not quite sure what & where to point things to.
My database name is “im”.
My MySQL Hostname is "core"
You can view the log file for this chat here
The Flash Chat can be found here
I need to change some values in a php file.
It says I must put correct parameters to connect to my MySQL database.
Then create tables with the same name specified on the php file with this dump:
CREATE TABLE $tablenamechosed1 (
id int(11) NOT NULL auto_increment,
name varchar(12) NOT NULL default ‘’,
testo varchar(255) NOT NULL default ‘’,
temp int(10) NOT NULL default ‘0’,
PRIMARY KEY (id)
The only file I need to edit has the following php lines but im not quite sure what to point to.<?php @mysql_pconnect("localhost","root",""); // mysql connection @mysql_select_db("im"); // database name $lines=10; // total lines on chat channel $testi="datamchat"; // chat table's name ?>
Also if someone can help out on creating the “Table” called for above. thanks! I appreciate the help fellas.
The Knights Of Death® :: An XBOX LIVE™ GAMING CLAN