PDA

View Full Version : Problems with table names of vbb


Intec
Tue 1st Aug '00, 11:02am
I had on my provider one mysql-database and other software use the same name of tables (user, post).
Can I change the table names or must I change all queryies in all files of php?

Menno
Tue 1st Aug '00, 11:37am
You'd have to change all the table names in the queries of the vB php scripts.

Intec
Thu 10th Aug '00, 6:25am
I think its very easy for John or anyone else. In HomeSite4.5 f.i. is intergrated a fine search/replace function for whoole directories and the files and subdirectories in it. You can search f.i. for all "FROM " and replace with "FROM §" in the sql statements and for UPDATE and DELETE the same. And now you can insert in the config file the names:
§post = "post";
$user = "user"; ...

And now you use your own names.