Hello again.
this time a question about variables.
I use a form to allow users to search a database. the problem is that some values have spaces (eg: Mary of Wales)
If a user searches Mary Wales, I get nothing.
I use a Oracle database with OCI.
How can I do this?
Here is part of my script:
$valor = ereg_replace("<([>]|\n)*>", "", $valor);
$valor = strtoupper($valor);
$sql = "SELECT * FROM FARMACIA WHERE $var LIKE UPPER('%%$valor%%') ORDER BY NOME";
Thanx