Results 1 to 4 of 4
  1. #1
    Join Date
    May 2009
    Posts
    1

    Unanswered: can i get some basic about php ...

    i had did some editing in .. phpbb and other php scripts .. but dont knw .. how to make one myself .. i just want to create a small form submitted the data shd be stored in a Mysql database cpanel .. and then .. the admin can login and can query that .. based on conditions .. so pls help me how to start .. .or give me the concept .. i knw something about html and made some websites .. dont knw much about php...

  2. #2
    Join Date
    Jun 2004
    Location
    Arizona, USA
    Posts
    1,848
    Start by taking a look in the php Dealing with Forms tutorial at php.net

    Then, after you see what's going on with the form interface, take a look at the PHP documentation, particularly the database documentation for MySql at php.net. The MySQL example code demonstrates connecting to a MySQL database, performing a query, then displaying the results. In your case, you would be issuing a SQL INSERT statement, rather than a SELECT statement.

    Now, as far as the cpanel side of it, I have no idea as to where the data is being stored, or whether it's even available to you for direct manipulation.
    Last edited by loquin; 06-04-09 at 13:12.
    Lou
    使大吃一惊
    "Lisa, in this house, we obey the laws of thermodynamics!" - Homer Simpson
    "I have my standards. They may be low, but I have them!" - Bette Middler
    "It's a book about a Spanish guy named Manual. You should read it." - Dilbert


  3. #3
    Join Date
    Nov 2004
    Location
    out on a limb
    Posts
    13,692
    Provided Answers: 59
    w3schools also has some good stuff on PHP

    fwiw this site is more about helping people develop 'stuff' with databases, in ths case using PHP. its not about learning PHP.. there are better resources out there, some come in book form
    I'd rather be riding on the Tiger 800 or the Norton

  4. #4
    i think you must see w3schools.com it,s a great website.

Posting Permissions

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