PDA

View Full Version : Need Web Programming Help



gongSHOW
04-27-2004, 10:21 PM
Ok, this is for all you web programming guros. I'm trying to install PHP - Nuke on website but there is this part in the config.php file where it asks to put:

# $prefix: Your Database table's prefix
# $user_prefix: Your Users' Database table's prefix (To share it)

where do i find this info? what exatly is it? your help is greatly appreciated!
I'm using phpMyAdmin for mySQL database too!

Kor
05-10-2004, 06:55 AM
Post is a bit old now, but I can try to help.

Prefixes are used if you want to use the same database for multiple applications. So for PHP Nuke you might want to have 10 different installs but only have 1 database. So you would have a prefix on your tables. So instead of a "user" table to store users, you might have "site1_user" and "site2_user" where "site1_" is the prefix for the first site, etc.

Where do you find this info? If you have already created the db tables then you check the db. If you haven't done anything yet, you can make the prefixes anything you want.


For my nuke install I used no prefixes, since I only want one instance of nuke to be using the db.