If it's a nylon cord (you're not clear about just what it is) you can melt the ends and join the molten pieces together under pressure but the bond will not take much strain. A glue gun would probably give a less reliable joint.
Rope style cord would join best with splicing...
http://en.wikipedia.org/wiki/Rope_splicing
You might consider wire rope (Bowden Cable inner core) joined with a crimped ferrule - this a picture of a very big one ...
http://en.wikipedia.org/wiki/File:Wire_rope_with_thimble_and_ferrule.jpg
And smaller ones
http://www.tecni-cable.co.uk/Products/Double-Copper-Ferrules-for-Miniature-Wire-Ropes
Peccavi
May 2013