Log in

View Full Version : alright :) some general questions


dv6cougar
01-12-2004, 12:52 AM
first thing's first.

I have a seperate database that I use for VARIOUS other things....

now what I would like to be able to do is, pull my information from the database, which I do know how to very well... I am getting really good with php... but I have never really used templates much.

my question is - how would I can you run a query and set a new array - $my_info[] perhaps, then use $my_info[] within the postbits template? and how do i set new conditionals to be used?

any help there is greatly appreciated :)

next up.

what table in the database has the # of users currently online in it? i figured it woudl be sessions - but that doesn't quite match up from my page to the forum home... so, thats not it :)


i had more, but I forget them.... thanks in advance!

Zachery
01-12-2004, 12:56 AM
first thing's first.

I have a seperate database that I use for VARIOUS other things....

now what I would like to be able to do is, pull my information from the database, which I do know how to very well... I am getting really good with php... but I have never really used templates much.

my question is - how would I can you run a query and set a new array - $my_info[] perhaps, then use $my_info[] within the postbits template? and how do i set new conditionals to be used?

any help there is greatly appreciated :)

next up.

what table in the database has the # of users currently online in it? i figured it woudl be sessions - but that doesn't quite match up from my page to the forum home... so, thats not it :)


i had more, but I forget them.... thanks in advance!
you have a whole nother database?

i dont think ive ever seen a program work with a 2 database system. altho i know one person who has done it, but he doesnt like to do it >.<

dv6cougar
01-12-2004, 12:56 AM
yeah - I may make it into 1 database eventually, but for right now it's 2 and it does work fine :)

dv6cougar
01-12-2004, 12:59 AM
so I didn't see the announcement that's here.... not sure how i missed it, mods please move it, sorry.