هذا حل مؤقت
PHP كود :
function Escape_String( const str: string): string;
var
i: Byte;
const
oldChars : array[0..8] of string[4]= ('\\', '\x00', '\n', '\r', '''', '"', '\x1a','--',';');
begin
Result := str;
for i := 0 to high(oldChars) do
Result := StringReplace(Result, oldChars[i], '', [rfReplaceAll])
end;
PHP كود :
'SELECT * FROM `users` where username ="'+Escape_String(Edit1.text)+'" AND password="'+Escape_String(Edit2.text)+'"'


![[-]](https://delphi4arab.net/forum/D4A2020/collapse.png)