PHP and MYSQL – Connecting to a Database and Adding Data

Whats coverd: -What is MYSQL -phpmyadmin -getting data from a database with php -displaying that data on a page -insert data using a form –source code comming soon!
Video Rating: 4 / 5

No related content found.

Revisions

There are no revisions for this post.

Tags: , , , ,

25 Responses to “PHP and MYSQL – Connecting to a Database and Adding Data”

  1. wineelk May 3, 2011 at 3:40 AM #

    Thanks mann !!!

    U helped me a lot 🙂

  2. MrSapitt May 3, 2011 at 4:24 AM #

    Parse error: syntax error, unexpected T_STRING, expecting ‘]’ in D:xampphtdocsphpbasicsmysqltutcreate.php on line 9

    🙁

  3. WNxLone May 3, 2011 at 5:00 AM #

    Thanks very much!

    You are very easy to understand and you explain this well. Thank you!!!

  4. MEGAXSTU May 3, 2011 at 5:12 AM #

    Thanks for showing the ropes and introducing a great software!

  5. kapilrc May 3, 2011 at 5:30 AM #

    how to insert image which has a link – into a database?

  6. SullivanSoftware May 3, 2011 at 5:52 AM #

    Great tutorial! PHP MySQL frameworks such as wizzyweb.com can also be helpful

  7. unknown95485 May 3, 2011 at 6:11 AM #

    its aptana u dumb fuck

  8. jeth99 May 3, 2011 at 6:23 AM #

    ur awesome

  9. Vishalkaushal011 May 3, 2011 at 6:31 AM #

    i got error in line 9 in index.php

  10. iijimaee May 3, 2011 at 7:23 AM #

    Hello I have tried the tutorial above and I faced the problem below. Can you please tell me how to solve it? Thanks!

    You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ”ID’, ‘NAME’, ‘DESCRIPTION’) VALUES(NULL,’joe’, ‘good’)’ at line 1

  11. TheFiscster510 May 3, 2011 at 7:44 AM #

    @Obizi123 Yeah i realized that when i full screened it i couldnt see it clearly at first lol

  12. Obizi123 May 3, 2011 at 8:27 AM #

    @TheFiscster510 its aptana

  13. TheFiscster510 May 3, 2011 at 9:27 AM #

    @pbj746 No, its something called Aptapa… i think.. but i cant find it anywhere… and i may be wrong.

  14. christine69reyes May 3, 2011 at 9:45 AM #

    i cnat read it so small

  15. CallMeMantou May 3, 2011 at 10:01 AM #

    why ID the only one that’s set to primary?

  16. rusurobert92 May 3, 2011 at 10:30 AM #

    thank you for the tutorial

  17. rsabinno May 3, 2011 at 10:47 AM #

    CURSO COMPLETO DE WED DESIGN
    80 AULAS IDEAL PARA INICIANTES
    Acesse: W w w . surflogosredeunica . com

  18. guydatpwnz May 3, 2011 at 11:43 AM #

    what i want is a tutorial how to create a registation system from every step possiable and how to apply it to my website.

  19. monkeysu May 3, 2011 at 11:55 AM #

    Hi, i faced a problem and that is i actually follow your instruction, but when i view it in the browser, it become empty page. Can you help me to solve the problem please?

  20. monkeysu May 3, 2011 at 12:37 PM #

    Hi , i faced a problem and that is, when after i click the submit button it shown no database selected. But i already look thru the code and confirmed that i had already selected it. Can you please help me to solve this problem? Thanks!

  21. AlexanderMonty May 3, 2011 at 1:10 PM #

    Everything is fine except for me not being able to return to the updated output . If I go to the index page everything is there but I want this to happen automatically…

    I get this error …

    User has been added!
    Warning: Cannot modify header information – headers already sent by (output started at C:xampphtdocsmysqltutincludesconnection.php:11) in C:xampphtdocsmysqltutcreate.php on line 20

  22. AlexanderMonty May 3, 2011 at 1:51 PM #

    @WISDOMandGRACE

    Hi ! I get the exact same problem. Did you manage to resolve ? Great tutorial but gutted that I couldnt finish everything tonight because of this ever so small error.

  23. ssikarim May 3, 2011 at 2:04 PM #

    Thank you very mutch, Good tutorial

  24. knitsu May 3, 2011 at 2:59 PM #

    fixed the first error, got firther in the video, which made me understand alot, however still getting an error in line 7 or create.php on my browser when i run my code

    line7
    if(!$POST[‘submit’]) {

    error = You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ”ID’ , Name, Description’) VALUES (NULL,’Sally’,’user” at line 1

  25. xOwnageMasterx May 3, 2011 at 3:06 PM #

    Nice tut rated 5*.
    Thing is im trying to get a private server on a cpu game (AQW)
    and it can’t connect to “MySQL” it is actually the only issue im having…
    So my question is, have you had any experience with this on priv. server games?
    Such as WoW?

Leave a Reply