The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
possible to run an update query like this?
[sql]
UPDATE tablex SET field1=addslahes(field1);[/sql] |
#2
|
||||
|
||||
[sql]UPDATE tablex SET field1 = QUOTE(field1)[/sql]
|
#3
|
||||
|
||||
would i be able to use addslashes inside of QUOTE() or does QUOTE() do that?
also how would i use htmlspecialchars_uni on it? |
#4
|
||||
|
||||
addslashes() is a PHP function, QUOTE() a mySQL function.
htmlspecialchars_uni() is a vBulletin function. |
#5
|
||||
|
||||
is there anyway i can use htmlspecialchars_uni() like that or would i have to call everything from table and then run an individual query for each?
|
#6
|
||||
|
||||
Quote:
|
#7
|
||||
|
||||
uh...ty all
|
#8
|
|||
|
|||
Maybe you can make it work using REPLACE().
But what are you trying to do? It makes no sense to me at all, if data is already succesfully inserted into the database, why do you want to run addslashes on it? |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|