I use a seperate file to include a bunch of function.
In this file I made some changes after I was not able able to execute the queries. Reading through this file (copy of original version), and comparing this with the original, I was not able to find any changes.
Must have mixed something up, since my logging to a textfile stopped working also. Replaced the 'functions'-file with the original, ands everything worked again.
Think I missed some "'s or ;'s in here.

Thanx for your time after all.

Jumping back to Richard H.'s note/
What I do like to know, is the following.
I need to store strings like "c:\program files\Map\file.txt" in my db.
When I now do this it insert cprogramfilesMapfiles.txt

Is there some function for handling addslashes/specialshars in queries. Couldn't find anything with the search, but if you can point something for me, I'll be very happy.. (wow. that would be the second time today)