2012-07-25, 03:49 PM
2012-07-25, 04:13 PM
Do you mean you want to get the table prefix name, like this:
tableprefix_users ?
If that is correct, you can use the TABLE_PREFIX code.
tableprefix_users ?
If that is correct, you can use the TABLE_PREFIX code.
TABLE_PREFIX
2012-07-25, 04:16 PM
(2012-07-25, 04:13 PM)Vernier Wrote: [ -> ]Do you mean you want to get the table prefix name, like this:
tableprefix_users ?
If that is correct, you can use the TABLE_PREFIX code.
TABLE_PREFIX
Correct, I'm guessing that is a PHP constant? Thank you for your help.
2012-07-25, 04:24 PM
What are you trying to do with it?
For example, if you're running a query, you'd use something like this:
For example, if you're running a query, you'd use something like this:
$db->query("UPDATE `".TABLE_PREFIX."users` SET email='1' WHERE uid='1'");