SELECT * FROM `infos` WHERE `ID1` = '1' AND `ID2` = '10' AND `ID3` = '0' AND `Titel` = 'Grundlagen' AND `Code` = 'Text goes hereMySQL meldet:
You have an error in your SQL syntax near ''Part of the text goes here' at line 1
It seems like there is no ' at the end. Is this a PHPMyAdmin Bug (I tried this with two different versions)?
Thanks
--
globay
As you suggested I just added the missing ' (And the text that was cut off) at the end and everything seemed to be alright, after entering it into the SQL Form.
Then I created a new entry, exactly the same as I did before, but instead of inserting the full amount of text (~1200 Characters) I just inserted the half. Everything seemed to be allright. Then I had PHPMyAdmin list me all entries and I clicked on "Edit" to edit the new entry. Well nothing happend. So I chose "Right Click" Open in New Window and I was able to edit the text. -> Basically everthing worked out as it should (except for having to open it in a new window).
Then I copied the text from the example above (~600 Characters) and inserted it again thus having ~1200 Characters. Everything seemed to be allright. Then I tried to edit this entry, and after opening it in the new window, part of the text was missing, as well as the ' sign at the end. Thats were I got the same error as stated in msg. 1 .
Then I created a new entry with just spaces and a (a a a...) (~10,000 Characters). Now I was not able to edit it nor open the edit window in a new window.
PHPMyAdmin really makes me crazy.
--
globay