Hi
Thanks for input but reget it gave same effect. When search field was will then generated
`parent_surname` LIKE \'%will%\' ORDER BY `date` asc LIMIT 0,24
but when search field was caw it gave
`parent_surname` LIKE \'Êw%\' ORDER BY `date` asc LIMIT 0,24
My restore variable I use to reload the form variables was
Restore=0,1,1,1813,31,12,1850,parent_surname,caw,,,,,,,,,,1,24,5,787,25-12-1841,322,22-11-1822
so I know that caw got there.
Tried numerous combinations including those shown below. Also with $percent= '%'; and so on
$extrasql = " $andor `$column` LIKE '%$variable%' ";
$extrasql = " $andor `$column` LIKE '%".$variable."%' ";
$extrasql = ' $andor `$column` LIKE '."'%".$variable."%' ";
I will write a much abbreviated version to be as simple as possible so it is easy for someone to check out to see if I have done something stupid! It would be helpful to see if reproducible elsewhere.