Gosh radek, i'd help you but you abandoned us on vek'nilash !!!!!!
anyways, it's a problem with escape_string or escape_sql_string or something like that.
however, if you're wanting, i can give you the code i use to generate
http://www.vindicator-guild.com/foru...d.php?do=apply
which turns to
http://www.vindicator-guild.com/foru...read.php?t=311
it's -very- simple to use and requires no php coding to add new fields to the app form.
The Questions in the Q/A section are even vbulletin option (one question per line, no limit).