alebulo wrote:when i make an entry in a imput form, like "Dell'Studente " don´t work for a quote.
"Dont work" is still not a proper description. Single quotes in forms of course "work" and are no problem for PHP, but maybe you have an error in your PHP Script, that the input is used in a query or in another form (or similar) and your script does not handle (i.e. escape) the quotes correctly. Anyway, this is NOT a PHP issue, it is a programming issue. Everything depends on your PHP script and the data, but not on PHP itself.
Altrea already gave you a hint to a PHP function, which may be usefull in certain cases (but we cannot determine if this already fixes your problem), for MySQL Data Access there is also a very usefull function (or method) mysqli_real_escape_string() (see the documentation on
http://php.net/manual/en/mysqli.real-escape-string.php) and finally there is a function addslashes() which escapes quote characters in strings:
http://php.net/manual/en/function.addslashes.phpIt depends on your script and your data flow, which function might be helpfull for you.
The old function magic_quotes_runtime() has been deprecated since PHP 5.3 and removed since PHP 7. If your PHP version is older than 5.3, you might try to use the runtime option magic_quotes_gpc (set it to "On" or 1 in php.ini), but keep in mind, that this feature will disappear when you are doing an upgrade.