very resourceful didn't think of that regarding the levels sub-directory.
That getCallStack was a test thing that i forgot to remove, I apologies for that.
Will update it using levels and escapstring2. But you could use decimals and integars inside the textfile with something like this.
PHP Code:
SQL.update("test/test", {"test", timevar2, timevar2});
UPDATE
test
SET
test2 = %2$i,
test3= %3$d,
WHERE
test = '%1$s'
Regarding the non-existent function I forgot to add that not sure who wrote this function, maybe Novo?
PHP Code:
Database: String
public function replaceAll(temp.text, temp.match, temp.replace) {
temp.prev = 0;
temp.output = "";
do {
temp.found = indexOf(temp.text, temp.match, temp.prev);
if (temp.found == -1) {
temp.output @= temp.text.substring(temp.prev, -1);
return temp.output;
} else {
temp.output @= temp.text.substring(temp.prev, temp.found - temp.prev) @ temp.replace;
temp.prev = temp.found + temp.match.length();
}
} while (temp.found != -1);
return temp.output;
}
public function indexOf(temp.text, temp.match, temp.offset) {
for (temp.i = temp.offset; i < temp.text.length(); i ++) {
if (temp.text.substring(temp.i, temp.match.length()) == temp.match) {
return temp.i;
}
}
return -1;
}