Topic: where can i learn more about $db->object

i'm digging around the forum, wiki and latest svn but still scratching my head.  any tips on the various ways i can talk to my database are appreciated.

Re: where can i learn more about $db->object

Look at the folder include/dblayer

There are probably about 20 functions...

See here: http://fluxbb.org/trac/browser/fluxbb/b … /mysql.php

Re: where can i learn more about $db->object

ok.  so i can just use $db-> and follow it with one of the functions listed in the db layer.  cool.

now what about $forum_db->query('...')?  where is this in the core?  is it better to use one of the other?

thanks again.

Re: where can i learn more about $db->object

you can only use $forum_db. It was $db once... long ago wink

Re: where can i learn more about $db->object

oh wow, i remember now.  i joined about a month after you.

totally off topic, when did you first hear about pun (flux)?  i was reading about 30 days of php hacks (a hack a day i believe) and the site that was doing this was using punbb as their forum.  i was like, if it's good enough for them it's good enough for me.

thanks again for the db tip.

Last edited by eric235u (2008-11-02 16:24:51)

Re: where can i learn more about $db->object

No problem.

Uhmmm... I think I was trying to find something for online lessons for my host mother wink. After spending a whole day on playing around with servers etc. (I had no idea before that day) and trying all kinds of softwares (e.g. PhpBB - didn't really work and was confusing), I used PunBB and it worked right away. I had already found it earlier, but didn't like the idea of being small and not having all the features, but when the other things didn't work out, I suddenly liked the idea wink After that, I played around with Pun, learned PHP from it and later chose Flux.

Clear enough? big_smile

Re: where can i learn more about $db->object

There might be some new functions added when this is done.