PHP Classes

no such function as database()

Recommend this page to a friend!

      SQLite DB Handler  >  All threads  >  no such function as database()  >  (Un) Subscribe thread alerts  
Subject:no such function as database()
Summary:no such function as database()
Messages:2
Author:Val Vanwil
Date:2007-07-31 10:01:38
Update:2014-06-14 01:43:23
 

  1. no such function as database()   Reply   Report abuse  
Picture of Val Vanwil Val Vanwil - 2007-07-31 10:01:41
hi

your example1.php files says on line 18:

$db->database("database.txt");


but there's no such function as database()...

what's wrong here?

thanks,
Val

  2. Re: no such function as database()   Reply   Report abuse  
Picture of geomorillo geomorillo - 2014-06-14 01:43:23 - In reply to message 1 from Val Vanwil
i think it must be like this
$db = new DB();

$db->Create_db("game.txt");


however is not creating the files