Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Problem with sqlite_escape_string() In php

Tags:

php

sqlite

I have used sqlite_escape_string() function in one server and it is working fine.When i use the same code in anther server it throwing an error Call to undefined function sqlite_escape_string()I am using PDO for connecting the database.

like image 712
Warrior Avatar asked Jun 30 '26 19:06

Warrior


1 Answers

function sqlite_escape_string( $string ){
    return SQLite3::escapeString($string);
}
like image 154
WHOAMI Avatar answered Jul 03 '26 08:07

WHOAMI