Hey!!
It seems that this forum is just for me. :D
Well,, I'm an experienced PHP and HTML user.
But a bit noob to MySQL. (Although I know some...)
char = some letters. Eg..: a A ã Ã
$find = my search: ã
lookalike for char=ã = ã;Ã;ä;â;á;à;A;Ä ;Â;Á;À;
When I search ($find) for a (or any other: Ã) it shows up in this order:
A, a, ã, Ã
But it should be with the search string first, and then it should be after lookalike.
I have no clue how to solve it, but it should be possible.
Greetings,
- Johan aka Josso
It seems that this forum is just for me. :D
Well,, I'm an experienced PHP and HTML user.
But a bit noob to MySQL. (Although I know some...)
char = some letters. Eg..: a A ã Ã
$find = my search: ã
lookalike for char=ã = ã;Ã;ä;â;á;à;A;Ä ;Â;Á;À;
Code:
$result = dbquery("
SELECT ".$db_altk."id, ".$db_altk."char, ".$db_altk."alt, ".$db_altk."lookalike
FROM ".DB_ALT_KEYCODES."
WHERE ".$db_altk."char = '".$find."'
);
A, a, ã, Ã
But it should be with the search string first, and then it should be after lookalike.
I have no clue how to solve it, but it should be possible.
Greetings,
- Johan aka Josso
Comment