Jump to content


Photo

PHP Comments Script


  • Please log in to reply
3 replies to this topic

#1 iassael

iassael
  • New Members
  • Pip
  • Newbie
  • 4 posts

Posted 27 October 2006 - 06:44 PM

Hi, i want a simple script in php for users to post their comments into mysql and then display them in another page. Can somebody please help me?
Thank you

#2 JP128

JP128
  • Members
  • PipPipPip
  • Advanced Member
  • 233 posts
  • LocationWisconsin

Posted 27 October 2006 - 06:52 PM

You have to connect to the database, then have the form to write the comment, you will need a username, date, and the comment... those should all be rows.. and when the user submits them you will want them to write it into the DB.

I am not sure on the exact functions, but there is a page...
If you look at example two, on http://us2.php.net/m...mysql-query.php, it should be helpful.

Sorry that I cannot help more..
-----------------------------------------------------------------------
John Ensign - Age 16 - PHP Learner

My email is Johnny.Ensign@gmail.com

#3 Caesar

Caesar
  • Members
  • PipPipPip
  • Advanced Member
  • 1,025 posts

Posted 27 October 2006 - 06:53 PM

This is generally a forum for help troubleshooting existing code. You won't find much in the way of getting/finding scripts.
PHP Ninja

#4 iassael

iassael
  • New Members
  • Pip
  • Newbie
  • 4 posts

Posted 27 October 2006 - 06:55 PM

i would really like some help because is for a community in my country against high prices in internet. So if somebody could kindly help me we would be really greatfull.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users