![]() |
vbulletin mysqli_real_escape_string
Hi,
What should I pass in the param1 for this function i.e. $escapedString = mysqli_real_escape_string($param1, $escapedString); Also, how does vbulletin escape all the strings using which functions? Thanks for the help. |
Here's some info:
http://us2.php.net/manual/en/mysqli....ape-string.php Maybe you want to do it some other way so you don't need the link identifier |
If using the other way, I would still need to define:
$mysqli = new mysqli("localhost", "my_user", "my_password", "world"); Does vBulletin has any pre-defined mysqli so that I can call $mysqli->real_escape_string($escapeString)? |
As I was looking around in includes/class_core.php looking for the variable name for the 1st parameter I found this, which is in the methods for mysqli
Code:
/** |
All times are GMT. The time now is 05:27 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:
|