Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

How to Create PHP Comment box using MySQL Database - Part 1

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
13,082
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Dec 4, 2010

-- HelperTuts
Hello, In this Tutorial we are going to create a wonderful comment box... In this first part of the tutorial we are going to make the database in MySQL database, with PHPmyAdmin, and also going to create basic form... with help of tables, and form tags, HTML... Also going to create a connect page which is going to connect to out database, and also create the send comment part of this tutorial/comment box. Thank You for watching, Hope you Subscribe Rate and Comment...

Click here to download the code:
https://rapidshare.com/files/3867921360/phpcommentbox.zip

Category:

Howto & Style

Tags:

License:

Standard YouTube License

  • likes, 2 dislikes

Link to this comment:

Share to:

Uploader Comments (helpertuts)

  • first of all, how did you get that myphpadmin?

  • @FarryEntertainment Download package called XAMPP or WAMP server and if on mac, then download MAMP... all this comes with PHP and MySQL support (phpMyAdmin)

  • hey man! great video it all worked like i wanted to, but above of the name box, it's giving me those 3 lines:

    Notice: Undefined index: name in C:\xampp\htdocs\comment.php on line 4

    Notice: Undefined index: comment in C:\xampp\htdocs\comment.php on line 5

    Notice: Undefined index: submit in C:\xampp\htdocs\comment.php on line 6

  • @savra91 There is a simple solution... put this code beofre any PHP code, in PHP start tags.... it's "error_ reporting(0);"... something like this....

    still need help then go to my website and download the final version and check the code out and how I did it...

  • why cant you upload to megaupload link is down

  • @harajli56 I fixed the link...

see all

All Comments (93)

Sign In or Sign Up now to post a comment!
  • Awesome tutorial dude !

    BUT ONE PROBLEM !

    --> the database says

    "MySQL returned an empty result set (i.e. zero rows). ( Query took 0.0006 sec )"

    Why is it so ? when i wrote the code i skipped the name field and even made changes in the code according to it ! Also their was no name column in my table ( i didnt make it ) HELP ME OUT please

  • @helpertuts thanx for all the feedback man ...

  • @toodalootdoot No it just means that the values to those fields have not yet been added. nothing about the error

  • @davidsaso1234 after the <?php type: error_reporting(0)

  • ok. But it wont work if you use " ' " in the comment body. How to resolve that

  • i got error when loading in browser. how to solve this? how many times a review the code.

    Notice: Undefined index: name in C:\xampp\htdocs\siteb\commentb­ox.php on line 4

    Notice: Undefined index: comment in C:\xampp\htdocs\siteb\commentb­ox.php on line 5

    Notice: Undefined index: submit in C:\xampp\htdocs\siteb\commentb­ox.php on line 6

  • a lot of people are also having this issue

    Notice: Undefined index: name

    Notice: Undefined index: comment

    Notice: Undefined index: submit

    even after using your file...

    please help!

  • i get an error saying

    Notice: Undefined index: Name in C:\xampp\htdocs\php-practice\i­ndex.php on line 3

    Notice: Undefined index: Comment in C:\xampp\htdocs\php-practice\i­ndex.php on line 4

    Notice: Undefined index: submit in C:\xampp\htdocs\php-practice\i­ndex.php on line 5

    but i have name="name"

    and comment="comment"

    and submit="submit"

    y is it not working?

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more