Tried it with pre_replace too I *know* there is a newline in there though, because the following code;
echo "<select name=county value=\"$cut[1]\">$cut[1]</select>";
...gives....
<select name=county value="test
">
test
</select>
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
echo "<select name=county value=\"$cut[1]\">$cut[1]</select>";
...gives....
<select name=county value="test
">
test
</select>
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!