|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
php/forms/posting/I NEED HELP!!!!!!!!!
I want to put a comment/quotes page on my teams site, and let people submit their own, but I don't know anything about php or any other database. Can some one help me?
|
|
#2
|
|||
|
|||
|
Re: php/forms/posting/I NEED HELP!!!!!!!!!
There are a few options. One is to use a free shoutbox type program. Another is to use php and log all of the comments to a text file. The last option is to use php and save it all to a database. The last will be the hardest to code but could allow for more features to be added. If i have any free tome today i will write you some sample code.
|
|
#3
|
|||
|
|||
|
Re: php/forms/posting/I NEED HELP!!!!!!!!!
CHeck out these links. http://www.project-angel.com/index.p...&cat=PHP&id=13 and http://www.project-angel.com/index.p...&cat=PHP&id=14 . Hopefully that will get you started. If you need any help just ask.
|
|
#4
|
||||
|
||||
|
Re: php/forms/posting/I NEED HELP!!!!!!!!!
Quote:
|
|
#5
|
|||
|
|||
|
Re: php/forms/posting/I NEED HELP!!!!!!!!!
Quote:
|
|
#6
|
||||
|
||||
|
Re: php/forms/posting/I NEED HELP!!!!!!!!!
Could some one give me the code for the text file option.
|
|
#7
|
|||
|
|||
|
Re: php/forms/posting/I NEED HELP!!!!!!!!!
Just to confirm what you want, you want a box that holds the posts of the shoutbox, under that you want a spot for people to input a nickname and message. Will that work for you? Also, do you know what version of php your webserver is running?
|
|
#8
|
||||
|
||||
|
Re: php/forms/posting/I NEED HELP!!!!!!!!!
Here is the server info:
![]() Last edited by general : 14-03-2006 at 14:46. |
|
#9
|
||||
|
||||
|
Re: php/forms/posting/I NEED HELP!!!!!!!!!
And I would want it to look like this
http://www.khsfirst.com/insert.html for the submiting page, and http://www.khsfirst.com/Quotes.html for the pageit would show up on. |
|
#10
|
||||
|
||||
|
Re: php/forms/posting/I NEED HELP!!!!!!!!!
ya know, it would be a ton easier to just use a database.
if you have PHPmyAdmin, then use it. PHP Code:
columns should be AT LEAST: id INTEGER AUTO_INCREMENT, title VARCHAR(35), body TEXT adding news to the DB is a different story. |
|
#11
|
||||
|
||||
|
Re: php/forms/posting/I NEED HELP!!!!!!!!!
Ya what is PHPmyAdmin? And how do I Use it?
|
|
#12
|
|||
|
|||
|
Re: php/forms/posting/I NEED HELP!!!!!!!!!
Quote:
The databases can be created without phpMyAdmin. I can write up some code for inputing data and createing the tables if you want me to. Also, can you find out if your webserver supports PHP and if so what version. If you cant find it, please post a link to the people who provide your hosting. EDIT: I wrote this up quickly so its not that great but it will work. PHP Code:
Last edited by chris31 : 15-03-2006 at 09:53. |
|
#13
|
||||
|
||||
|
Re: php/forms/posting/I NEED HELP!!!!!!!!!
ok so it works great, but now theres like 25 quotes. I want to make a second page so you dont have to scroll forever to get to the bottom. Do i have to make a new database or can i use the same one?
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|