I created a page with an ACP and save my data there. Everything runs without problems. But suddenly I have a mysterious problem. In the public area I always output the data alphabetically, but an entry ("Damaged Goods") is always ranked last.
My command to select:
SELECT lyric_id, lyric_title, lyric_lang_00, lyric_text_00, lyric_lang_01,
lyric_text_01, lyric_lang_02, lyric_text_02, lyric_lang_03, lyric_text_03,
lyric_lang_04, lyric_text_04, lyric_lang_05, lyric_text_05
FROM dnd_lyrics
WHERE lyric_text_00!='' OR lyric_text_01!='' OR lyric_text_01!='' OR
lyric_text_02!='' OR lyric_text_03!='' OR lyric_text_04!='' OR
lyric_text_05!='' OR lyric_text_03!='' ORDER BY lyric_title ASC"
My command to insert:
$db->query("INSERT INTO dnd_lyrics (lyric_title,lyric_lang_00)
VALUES('".$db->str($_POST['lyric_title'])."','".$db->str($config['lang'])."')");
Affected database: https://syntaxhigh.normanhuth.com/FlniL9
So far, the problem has only occurred with this one entry. And if I enter it manually via phpMyAdmin, it works.