The Best Cyprus Community

Skip to content


PHP Database Problem

Feel free to talk about anything that you want.

Postby Sotos » Wed Oct 10, 2007 10:51 pm

User avatar
Sotos
Leading Contributor
Leading Contributor
 
Posts: 11357
Joined: Wed Aug 17, 2005 2:50 am

Postby Sega » Wed Oct 10, 2007 10:54 pm

[quote="Get Real!"]
1. $dbh = dba_open(":\’", "C", "gdbm")
2. $dbh = dba_open("C:\’", "", "gdbm")
[/quote]

Both the solutions dont work.
User avatar
Sega
Contributor
Contributor
 
Posts: 895
Joined: Mon Mar 05, 2007 10:21 pm

Postby Sega » Wed Oct 10, 2007 10:56 pm

[quote="Sotos"]http://www.amazon.com/Beginning-PHP-MySQL-Novice-Professional/dp/1590595521/
http://www.amazon.com/PHP-MySQL-Develop ... 672329166/
http://www.amazon.com/PHP-Solutions-Dyn ... 590597311/
Get a good book and stop wasting your time ;)[/quote]

Point well noted.
User avatar
Sega
Contributor
Contributor
 
Posts: 895
Joined: Mon Mar 05, 2007 10:21 pm

Postby Sotos » Wed Oct 10, 2007 11:00 pm

Sega wrote:
Sotos wrote:http://www.amazon.com/Beginning-PHP-MySQL-Novice-Professional/dp/1590595521/
http://www.amazon.com/PHP-MySQL-Develop ... 672329166/
http://www.amazon.com/PHP-Solutions-Dyn ... 590597311/
Get a good book and stop wasting your time ;)


Point well noted.


Your book is 4 years old! Even if it was a good book it is now outdated. ;)
User avatar
Sotos
Leading Contributor
Leading Contributor
 
Posts: 11357
Joined: Wed Aug 17, 2005 2:50 am

Postby Get Real! » Wed Oct 10, 2007 11:15 pm

You can read about the function here…

http://de2.php.net/dba_open

…and then try this…

$dbh = dba_open("C:\’", "c", "gdbm")
User avatar
Get Real!
Forum Addict
Forum Addict
 
Posts: 48333
Joined: Mon Feb 26, 2007 12:25 am
Location: Nicosia

Previous

Return to General Chat

Who is online

Users browsing this forum: No registered users and 1 guest