Php coding needed

Discussion in 'PHP' started by pankajdeoria, Aug 27, 2010.

  1. #1
    I want to create a page in php with a text box and a button called submit. then if someone writes on that text box and press submit then it should save in database and then it should display below that box. So, means if I am posting 10 different posts, then all the 10 posts should come down to each other and with a link to that post..


    means suppose I am writing Hi, How are you and submitting it then it should show at

    Hi, How are you like domainname/hi-how-are-you.php

    Hope you understood.. Please share the code or atleast tell me how to do this?

    Thank You.
     
    pankajdeoria, Aug 27, 2010 IP
  2. Narrator

    Narrator Active Member

    Messages:
    392
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    80
    #2
    Have you made an attempt at this script?
     
    Narrator, Aug 28, 2010 IP
  3. Thorlax402

    Thorlax402 Member

    Messages:
    194
    Likes Received:
    2
    Best Answers:
    5
    Trophy Points:
    40
    #3
    If you are looking to do this yourself, then you will need to look into php and mysql tutorials in order to figure out how to read and write to a mysql database.
     
    Thorlax402, Aug 28, 2010 IP
  4. GTWO

    GTWO Peon

    Messages:
    30
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    If you understand html and html forms you can have your php script use echo to output that.
    For ex echo "<body>" ;
     
    GTWO, Aug 28, 2010 IP