Open Toneq opened 5 years ago
You cannot interpolate expressions into SQL string literals.
so how can I do that to work?
Obviously , the Owner of the " Skript-db " never Worked with PHP , what do you mean , " We cannot Interpolate expressions into SQL string " in PHP afcourse we can Sample: $PRO = "INSERT".$notPRO.'Limit 1;'; then SQL return >>> Affected 1 Row which means , Everything is Fine , and DB insert has been SUCCESSFULL ! and the Owner Must Find a way to Fix this , this is MAIN ISSUE if you ask me , OTherwise Go into your REPO and DELETE FULLY DYNAMIC QUERY because its not DYNAMIC OTHERWISE !!!!!!!!!!! this is Verry Important !!!!!!!!!
So i have the same ISSUE !!!!!!!!!!!!!
Hey! I have a problem with INSERT INTO because it doesn't insert a line in mysql. It does not work only with the variables entered. There are no errors in the console.
Plugin: Skript(2.4-beta5), SkQuery, WildSkript, ProtocolLib, WorldEdit, WorldGuard, skDragon, SkUtilities, skRayFall, skript-db
My database query: execute "INSERT INTO sk_guild (
Name
,Value
,Player
) VALUES ('%{_name}%::position', 'Lider', '%player%')" in {sql}