![]() |
vb variables
while we register at our forum at the same time i need to insert into another db username password and e-mail variables typed by user at forum register page
how can i do it? PHP Code:
|
I do something similar on my site. I use the "register_addmember_complete" plugin.
PHP Code:
|
thx a lot, btw where i can find "register_addmember_complete" plugin?
|
Quote:
|
i found a bit info about hooks and found "register_addmember_complete" in my register.php file. can u explain me how it can help me to done my db query with an example please?
|
Use $db->escape_string() instead of addslashes().
|
Quote:
|
Quote:
PHP Code:
|
mysql_real_escape_string() runs MySQL's own function, which escapes what MySQL needs escaped. addslashes() only escapes what PHP needs escaped.
Also, addslashes() has been removed from PHP 6. |
All times are GMT. The time now is 10:49 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|