SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Thread: How to?

  1. #1
    Non-Member
    Join Date
    Sep 2005
    Posts
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to?

    Just a couple simple questions (just learning).

    1) How do you make form info go to a mySQL database.
    2) How do you display the data in PHP on a page everyone can see.


    Thanks in advance.

  2. #2
    SitePoint Enthusiast
    Join Date
    Jul 2005
    Location
    Canada
    Posts
    59
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    connect to mysql, use the insert function to insert the data in the mysql database.
    use mysql_array() function to read the data.

  3. #3
    Maniacally depressed robot poncho's Avatar
    Join Date
    Dec 2004
    Location
    Belfast, N.Ireland
    Posts
    452
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I believe this is what you are looking for:

    Harry Fuecks:-
    The PHP Anthology Volume I, Chapter 3 - PHP and MySQL

    Also check out:

    Kevin Yank:-
    Build your own Database Driven Website using PHP & MySQL.

    I have all three books and they do come in very handy.

    Good luck!
    Perfecting the art of breaking stuff.
    Check 'em: CakePHP | TextMate


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •