inserting data to database????

Discussion in 'Programming' started by akiko07, Feb 5, 2010.

  1. #1
    hi guys...
    will someone help me to fix the error plz...I have this input field wherein I believed it is connected with my database but when I hit the submit button.This line appears....what will I do?? Im planning to insert my inputted value to my database.

    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\xampp\htdocs\displaypage.php:8) in C:\xampp\htdocs\displaypage.php on line 33

    Fatal error: Call to undefined function getprop() in C:\xampp\htdocs\displaypage.php on line 39



    I don't have line 39..as what the error points out...
     
    akiko07, Feb 5, 2010 IP
  2. CodyRo

    CodyRo Peon

    Messages:
    365
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #2
    There is no line 39 in displaypage.php? Are you positive?

    What about "getprop()" ? The error is very generic saying it can't find a function that's being used in the script. The header portion you can disregard as of now as that's lesser of the two errors currently (well warning).
     
    CodyRo, Feb 7, 2010 IP
  3. nadiralishah_webexpert

    nadiralishah_webexpert Guest

    Messages:
    229
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    try to not print anything before session_start() command..
     
    nadiralishah_webexpert, Feb 7, 2010 IP