Do you have the code that makes up dbconnect.php?
   
  to answer this questions we would need to see that code as well
  

Michael Sullivan <[EMAIL PROTECTED]> wrote:
          Given the code below:

<?
session_start();
include("miscfunc.php");
$loggedin = get_var("loggedin");

if (!isset($loggedin)) //Security code goes here
{
print "Not logged in.<br><br>\n";
include("index.php");
}
else
{
include("dbconnect.php");
.
.
.
}
?>

I'm getting this error:

Fatal error: Call to undefined function get_var() in
/home/festival/webspace/html/dbconnect.php on line 3

Why is it that dbconnect.php that I'm including cannot make use of
get_var() (included from miscfunc.php)? Every other .php file in this
project does this exact same thing perfectly. Why is this particular
script giving this error? 



         


John Stock
Merlin5 Computer
[EMAIL PROTECTED]
                
---------------------------------
 All-new Yahoo! Mail - Fire up a more powerful email and get things done faster.

[Non-text portions of this message have been removed]






Community email addresses:
  Post message: php-list@yahoogroups.com
  Subscribe:    [EMAIL PROTECTED]
  Unsubscribe:  [EMAIL PROTECTED]
  List owner:   [EMAIL PROTECTED]

Shortcut URL to this page:
  http://groups.yahoo.com/group/php-list 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-list/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/php-list/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to