"Question and Answers" PHP script wanted

Discussion in 'PHP' started by mrx345, Oct 4, 2010.

  1. #1
    I need a PHP script to add "Question and Answers" page into my website.
    It should
    1) allow users to ask questions
    2) allow site owner to answer these question

    And it must be very simple - I don't want to install CMS system. Ideally it should work w/o database at all.
    I also need to be able to modify its styles to fit my web site.

    Please advise something

    Thank you
     
    mrx345, Oct 4, 2010 IP
  2. imperialDirectory

    imperialDirectory Peon

    Messages:
    395
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I don't have the code you need but just throwing some ideas here so others can find you the code you need.

    To achieve what you need without database.

    I guess you can look for a PHP form that user can submit the questions and they will go into your Email. Then you can use a HTML template to create a static HTML page with the question and your answer in it.

    Sounds good? Or do you need something more automatic.
     
    imperialDirectory, Oct 4, 2010 IP
  3. mrx345

    mrx345 Peon

    Messages:
    68
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Yes. thanks, to develop this from scratch - this is an option.. but I want a ready script which I can modify to fit my web site...
     
    mrx345, Oct 4, 2010 IP
  4. Eager2Seo

    Eager2Seo Member

    Messages:
    72
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    48
    #4
    Just make sure to use the striptags function when you get data off the internet! You don't want any scripts sneaking in!
     
    Eager2Seo, Oct 4, 2010 IP
  5. ladesignandcoding

    ladesignandcoding Peon

    Messages:
    78
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Why do you want to do this without a database?

    -ladesignandcoding-
     
    ladesignandcoding, Oct 4, 2010 IP
  6. Eager2Seo

    Eager2Seo Member

    Messages:
    72
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    48
    #6
    Its pretty simple, why mess with SQL. He can dump it in and out of a text file. Then again, if he is trying to create yahoo answers :)..thats another story.
     
    Eager2Seo, Oct 4, 2010 IP
  7. ladesignandcoding

    ladesignandcoding Peon

    Messages:
    78
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Yea, I agree with you there.
     
    ladesignandcoding, Oct 4, 2010 IP