Menu
greetings!
page1.html has a form that actions Validate.php
in Validate.php I need to check for errors in the input such as if the entry is already in my database. Well one of the checks I need to make is if the input has latin accents (á,é,í,ó,ú,ü). I tried:
[code=php]$Names = $_POST[“Input”];
$Names = str_replace(“é”,”e”,$Names);
//and also
$Names = strtr($Names,”é”,”e”);
but it doesnt work.
As a bizarre tip:if I
[code=php]echo “é”;
// it outputs: A(C)
so Im not sure if it is due to a configuration thing or what….
how could I replace the accents then??