Hi all,
This is my PHP getting the value from the DB:
Because i use 'nl2br' when I write it to the db, it contains some '<br />' occurences.PHP Code:$row=mysql_fetch_array($result);
$members = $row['members'];
If i then try and put this value into a textarea using javascript:
document.formeditband.members.value = "<?php echo $members ?>";
I get the error: 'Unterminated string constant'.
Anyone got any suggestions to why i might be getting this error and how to covercome it please?
Many Thanks,
BIOSTALL




Reply With Quote