Gossamer Forum
Home : General : Internet Technologies :

Re: [hennagaijin] ereg_replace() not getting rid of newlines :|

Quote Reply
Re: [hennagaijin] ereg_replace() not getting rid of newlines :| In reply to
Tried it with pre_replace too Frown 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>

Unsure

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!
Subject Author Views Date
Thread; hot thread ereg_replace() not getting rid of newlines :| Andy 17579 Jun 11, 2003, 8:19 AM
Thread; hot thread Re: [Andy] ereg_replace() not getting rid of newlines :|
hennagaijin 17124 Jun 12, 2003, 4:47 AM
Thread; hot thread Re: [hennagaijin] ereg_replace() not getting rid of newlines :|
Andy 17180 Jun 12, 2003, 4:53 AM
Thread; hot thread Re: [Andy] ereg_replace() not getting rid of newlines :|
Paul 17149 Jun 12, 2003, 6:15 AM
Thread; hot thread Re: [Paul] ereg_replace() not getting rid of newlines :|
Andy 17113 Jun 12, 2003, 6:43 AM
Thread; hot thread Re: [Andy] ereg_replace() not getting rid of newlines :|
Paul 17120 Jun 12, 2003, 6:57 AM
Thread; hot thread Re: [Paul] ereg_replace() not getting rid of newlines :|
Wil 17103 Jun 12, 2003, 7:37 AM
Thread; hot thread Re: [Wil] ereg_replace() not getting rid of newlines :|
Andy 17124 Jun 12, 2003, 8:03 AM
Thread; hot thread Re: [Andy] ereg_replace() not getting rid of newlines :|
Wil 17090 Jun 12, 2003, 8:12 AM
Thread; hot thread Re: [Wil] ereg_replace() not getting rid of newlines :|
Andy 17171 Jun 12, 2003, 8:17 AM
Thread; hot thread Re: [Andy] ereg_replace() not getting rid of newlines :|
Paul 17143 Jun 12, 2003, 8:19 AM
Thread; hot thread Re: [Paul] ereg_replace() not getting rid of newlines :|
dan 17105 Jun 12, 2003, 9:25 AM
Thread; hot thread Re: [dan] ereg_replace() not getting rid of newlines :|
Paul 17106 Jun 12, 2003, 9:32 AM
Thread; hot thread Re: [Paul] ereg_replace() not getting rid of newlines :|
dan 17142 Jun 12, 2003, 9:56 AM
Thread; hot thread Re: [dan] ereg_replace() not getting rid of newlines :|
Paul 17050 Jun 12, 2003, 9:58 AM
Post; hot thread Re: [Paul] ereg_replace() not getting rid of newlines :|
dan 16996 Jun 12, 2003, 10:01 AM
Thread; hot thread Re: [Andy] ereg_replace() not getting rid of newlines :|
Wil 17095 Jun 12, 2003, 8:33 AM
Post; hot thread Re: [Wil] ereg_replace() not getting rid of newlines :|
Andy 17078 Jun 12, 2003, 8:39 AM
Thread; hot thread Re: [Wil] ereg_replace() not getting rid of newlines :|
Paul 17079 Jun 12, 2003, 8:56 AM
Thread; hot thread Re: [Paul] ereg_replace() not getting rid of newlines :|
Wil 17133 Jun 12, 2003, 10:45 AM
Thread; hot thread Re: [Wil] ereg_replace() not getting rid of newlines :|
Andy 17072 Jun 12, 2003, 3:38 PM
Thread; hot thread Re: [Andy] ereg_replace() not getting rid of newlines :|
Paul 17071 Jun 12, 2003, 4:13 PM
Thread; hot thread Re: [Paul] ereg_replace() not getting rid of newlines :|
Wil 17127 Jun 12, 2003, 6:12 PM
Post; hot thread Re: [Wil] ereg_replace() not getting rid of newlines :|
Andy 17032 Jun 13, 2003, 2:50 AM
Post; hot thread Re: [Wil] ereg_replace() not getting rid of newlines :|
Andy 17000 Jun 13, 2003, 2:51 AM