By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,504 Members | 1,092 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,504 IT Pros & Developers. It's quick & easy.

Call to undefined function

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

Expand|Select|Wrap|Line Numbers
  1. <?php
  2.  
  3.       nl2br(open_question("prices.txt"));
  4.    Fatal error: Call to undefined function open_question() in c:\wamp\www\murugan\untitled-1.php on line 4
  5.       ?>  
what i can i do for this error?
Jul 20 '07 #1
Share this Question
Share on Google+
2 Replies


code green
Expert 100+
P: 1,726
Expand|Select|Wrap|Line Numbers
  1. 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\murugan\untitled.
You need to 'include' the script containing open_question() in untititled
Jul 20 '07 #2

pbmods
Expert 5K+
P: 5,821
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?).
Aug 29 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.