User Profile

Collapse

Profile Sidebar

Collapse
Josso
Josso
Last Activity: Mar 9 '08, 10:55 AM
Joined: Mar 2 '08
Location: Denmark, Europe
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Josso
    replied to ORDER BY lookalike
    You opened my eyes a little more. :)
    Using this:
    Code:
    	SELECT ".$db_altk."id, ".$db_altk."char, ".$db_altk."alt, ".$db_altk."lookalike
    	FROM ".DB_ALT_KEYCODES."
    	WHERE ".$db_altk."char REGEXP '^".$find."$'
    I get two rows. (With ã and Ã)

    Then I'll try to get the others (lookalike) with a new SQL call.

    Well,,...
    See more | Go to post

    Leave a comment:


  • Josso
    replied to ORDER BY lookalike
    Sorry...
    I'm not sure I know what you mean...?

    I just give you the code:
    [PHP]require_once "inc.php";
    echo "<table border='0' width='100%'>
    <tr>
    <td align='left'><b >".$locale['ak001']."</b></td>
    <td align='right'>< a href='lang.php' >".$locale['ak002'].$lang."</a></td>
    </tr>\n</table>...
    See more | Go to post

    Leave a comment:


  • Josso
    replied to ORDER BY lookalike
    This is the list: (Using while() )
    like removed - moderator
    See more | Go to post

    Leave a comment:


  • Josso
    replied to ORDER BY lookalike
    Sorry, but I can't get it to work. :(

    I wanna make a small list with Alt-Keycodes.

    And when I search for " ã " A and a, should not be listed first.

    Therefore I made a field called "lookalike" , where I made a list, with what to come first, and last. ;)

    Hope it was transfigured better. :)

    - Johan aka Josso...
    See more | Go to post

    Leave a comment:


  • Josso
    replied to ORDER BY lookalike
    Forum: Ofc. ;)

    Can you give a example if the tabel looks like this:
    Code:
    (`alt_keycodes_id`, `alt_keycodes_char`, `alt_keycodes_alt`, `alt_keycodes_lookalike`) VALUES 
    (1, 'A', '65', 'A;a;Ä;Â;Á;À;Ã;ä;â;á;à;ã;'),
    (2, 'a', '97', 'a;A;ä;â;á;à;ã;Ä;Â;Á;À;Ã;'),
    (3, 'ã', '0227', 'ã;Ã;ä;â;á;à;A;Ä;Â;Á;À;'),
    (4, 'Ã', '0195', 'Ã;ã;A;Ä;Â;Á;À;a;ä;â;á;à;');
    ...
    See more | Go to post

    Leave a comment:


  • Josso
    replied to how do display drop down list selected value
    in PHP
    @ronverdonk:
    Ahh,, It was selected='selec ted' and not checked='checke d'. :p

    Thanks for that. ;)

    I can use that in my script. :)

    Greetings,
    - Johan aka Josso
    See more | Go to post

    Leave a comment:


  • Josso
    started a topic ORDER BY lookalike

    ORDER BY lookalike

    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;Ä ;Â;Á;À;

    Code:
    $result = dbquery("
    	SELECT ".$db_altk."id, ".$db_altk."char, ".$db_altk."alt,
    ...
    See more | Go to post
No activity results to display
Show More
Working...