•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the PHP section within the Web Development category of DaniWeb, a massive community of 375,207 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,314 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our PHP advertiser: Lunarpages PHP Web Hosting
Views: 2291 | Replies: 9
![]() |
•
•
Join Date: Oct 2004
Posts: 15
Reputation:
Rep Power: 4
Solved Threads: 0
•
•
•
•
Originally Posted by 12345letsgo
i know no php, but amexcellentwith javascript, html, and css. I need help adding a forum to my site. Would apprciate any help
Needscripts.com
hotscripts.com
both of these websites have plenty of php scripts. Or just use google and search for php forum scripts. If you understand html then you should be able to adapt to php quite easily. Use you css file to position your forum results with the same stlye, text etc as the rest pf your pages, and then just use html tags to present you info into the webpage.
Another thing, are you using a mysql databse or a flat data file to store the enterdata in your forum?
•
•
•
•
Originally Posted by Hjcooke
Needscripts.com
hotscripts.com
both of these websites have plenty of php scripts. Or just use google and search for php forum scripts. If you understand html then you should be able to adapt to php quite easily. Use you css file to position your forum results with the same stlye, text etc as the rest pf your pages, and then just use html tags to present you info into the webpage.
Another thing, are you using a mysql databse or a flat data file to store the enterdata in your forum?
Thank you so much :mrgreen: , and i am using mysql. Does the forum require a database program on my pc, or can i just use my server?
•
•
Join Date: Oct 2004
Posts: 15
Reputation:
Rep Power: 4
Solved Threads: 0
Your proposed forum needs a database program, in this instance your using mysql. You need to have mysql on the same machine which is hosting your website. ( i think). If your putting yor website on your server then just install mysql on it as well.
To add it to your site you need to have mysql and a recnt version pf php installed and runing on your server.
"my little forum" should have hopefully quite a standard database connection and display of database contents code already writen in a test page, or something similar.
You need to use that same code to contact your database through your webpages. The php needs to be inside the your html tags.
But remenber you must save your php files as .php or you will just gat pages of sql comands.
To add it to your site you need to have mysql and a recnt version pf php installed and runing on your server.
"my little forum" should have hopefully quite a standard database connection and display of database contents code already writen in a test page, or something similar.
You need to use that same code to contact your database through your webpages. The php needs to be inside the your html tags.
But remenber you must save your php files as .php or you will just gat pages of sql comands.
•
•
•
•
Originally Posted by Hjcooke
Your proposed forum needs a database program, in this instance your using mysql. You need to have mysql on the same machine which is hosting your website. ( i think). If your putting yor website on your server then just install mysql on it as well.
To add it to your site you need to have mysql and a recnt version pf php installed and runing on your server.
"my little forum" should have hopefully quite a standard database connection and display of database contents code already writen in a test page, or something similar.
You need to use that same code to contact your database through your webpages. The php needs to be inside the your html tags.
But remenber you must save your php files as .php or you will just gat pages of sql comands.
Thanks, I'll try it
what do i fill in for thesefields(where do i find this info?)
database host
host name, probably "localhost"
Database name
Name of the database
Database user
Username to access the database
Database password
Password to access the database
Settings table
Table in which the settings are saved
Forum table
Table in which the messages are saved
Category table
Table in which the categories are saved
Userdata table
Tabelle, in which the userdata is saved
User-online table
Table in which the users are counted who are online at the same time
database host
host name, probably "localhost"
Database name
Name of the database
Database user
Username to access the database
Database password
Password to access the database
Settings table
Table in which the settings are saved
Forum table
Table in which the messages are saved
Category table
Table in which the categories are saved
Userdata table
Tabelle, in which the userdata is saved
User-online table
Table in which the users are counted who are online at the same time
•
•
Join Date: Oct 2004
Posts: 15
Reputation:
Rep Power: 4
Solved Threads: 0
Local host is the ip for machine hosting the forum.
You need to create a database in mysql through a admin program, and put that name of the databse into your php code, as well as your users name and password. Many php and mysql setups come with passwords and user names, you need to have a look in the read me files for these.
it looks like some of the lower statements you state your self, such as the table, you need to name it. Not sure what user table is, i feel its the same as other tables.
How good is your html skills? If you continue to have problems i have a php code that allows you to display the contents of a databse and add a new record. All you need to do is change the html tags from a standard 3 field by 3 column table that displays the data.
You need to create a database in mysql through a admin program, and put that name of the databse into your php code, as well as your users name and password. Many php and mysql setups come with passwords and user names, you need to have a look in the read me files for these.
it looks like some of the lower statements you state your self, such as the table, you need to name it. Not sure what user table is, i feel its the same as other tables.
How good is your html skills? If you continue to have problems i have a php code that allows you to display the contents of a databse and add a new record. All you need to do is change the html tags from a standard 3 field by 3 column table that displays the data.
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb PHP Marketplace
- vBulletin mod_rewrite (PHP)
- PHP newbie, project feasibility (PHP)
Other Threads in the PHP Forum
- Previous Thread: php rewrite question
- Next Thread: Installing a SMTP for mail()


Linear Mode