Hi Mathew Possible sources of trouble (just a guess) - quotes (particularly when they get nested) - line breaks
all that related to Javascript handling of your text string If you could provide a sample as plain text of what the php variable outputs., it would help diagnosis. Another idea: write the output first to a <textarea>, then load that value into JSmol (the browser will parse with less confilcts what is in the textarea in order to pass it along) ------------------------------------------------------------------------------ _______________________________________________ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users