Call to undefined function

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • radhak
    New Member
    • Jul 2007
    • 10

    Call to undefined function

    I am new to php, and I need some help.
    I am trying to write a script for a web site

    [code=php]
    <?php

    nl2br(open_ques tion("prices.tx t"));
    Fatal error: Call to undefined function open_question() in c:\wamp\www\mur ugan\untitled-1.php on line 4
    ?> [/code]

    what i can i do for this error?
  • code green
    Recognized Expert Top Contributor
    • Mar 2007
    • 1726

    #2
    Code:
    Fatal error: Call to undefined function open_question() in c:\wamp\www\murugan\untitled
    This means the function open_question() cannot be seen from c:\wamp\www\mur ugan\untitled.
    You need to 'include' the script containing open_question() in untititled

    Comment

    • pbmods
      Recognized Expert Expert
      • Apr 2007
      • 5821

      #3
      Changed thread title to better describe the problem (did you know that threads whose titles do not follow the Posting Guidelines actually get FEWER responses?).

      Comment

      Working...