Gossamer Forum
Home : General : Internet Technologies :

ereg_replace() not getting rid of newlines :|

Quote Reply
ereg_replace() not getting rid of newlines :|
Mmm....the following code does not seem to be working;

$cut[1] = ereg_replace("\n","",$cut[1]);

I'm trying to get rid of newlines from $cut[1]. I'm *sure* this code has worked before with me Unsure

Anyone who knows PHP got any ideas?

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 17612 Jun 11, 2003, 8:19 AM
Thread; hot thread Re: [Andy] ereg_replace() not getting rid of newlines :|
hennagaijin 17155 Jun 12, 2003, 4:47 AM
Thread; hot thread Re: [hennagaijin] ereg_replace() not getting rid of newlines :|
Andy 17211 Jun 12, 2003, 4:53 AM
Thread; hot thread Re: [Andy] ereg_replace() not getting rid of newlines :|
Paul 17180 Jun 12, 2003, 6:15 AM
Thread; hot thread Re: [Paul] ereg_replace() not getting rid of newlines :|
Andy 17144 Jun 12, 2003, 6:43 AM
Thread; hot thread Re: [Andy] ereg_replace() not getting rid of newlines :|
Paul 17151 Jun 12, 2003, 6:57 AM
Thread; hot thread Re: [Paul] ereg_replace() not getting rid of newlines :|
Wil 17134 Jun 12, 2003, 7:37 AM
Thread; hot thread Re: [Wil] ereg_replace() not getting rid of newlines :|
Andy 17155 Jun 12, 2003, 8:03 AM
Thread; hot thread Re: [Andy] ereg_replace() not getting rid of newlines :|
Wil 17121 Jun 12, 2003, 8:12 AM
Thread; hot thread Re: [Wil] ereg_replace() not getting rid of newlines :|
Andy 17202 Jun 12, 2003, 8:17 AM
Thread; hot thread Re: [Andy] ereg_replace() not getting rid of newlines :|
Paul 17174 Jun 12, 2003, 8:19 AM
Thread; hot thread Re: [Paul] ereg_replace() not getting rid of newlines :|
dan 17136 Jun 12, 2003, 9:25 AM
Thread; hot thread Re: [dan] ereg_replace() not getting rid of newlines :|
Paul 17137 Jun 12, 2003, 9:32 AM
Thread; hot thread Re: [Paul] ereg_replace() not getting rid of newlines :|
dan 17173 Jun 12, 2003, 9:56 AM
Thread; hot thread Re: [dan] ereg_replace() not getting rid of newlines :|
Paul 17081 Jun 12, 2003, 9:58 AM
Post; hot thread Re: [Paul] ereg_replace() not getting rid of newlines :|
dan 17027 Jun 12, 2003, 10:01 AM
Thread; hot thread Re: [Andy] ereg_replace() not getting rid of newlines :|
Wil 17126 Jun 12, 2003, 8:33 AM
Post; hot thread Re: [Wil] ereg_replace() not getting rid of newlines :|
Andy 17109 Jun 12, 2003, 8:39 AM
Thread; hot thread Re: [Wil] ereg_replace() not getting rid of newlines :|
Paul 17110 Jun 12, 2003, 8:56 AM
Thread; hot thread Re: [Paul] ereg_replace() not getting rid of newlines :|
Wil 17164 Jun 12, 2003, 10:45 AM
Thread; hot thread Re: [Wil] ereg_replace() not getting rid of newlines :|
Andy 17103 Jun 12, 2003, 3:38 PM
Thread; hot thread Re: [Andy] ereg_replace() not getting rid of newlines :|
Paul 17102 Jun 12, 2003, 4:13 PM
Thread; hot thread Re: [Paul] ereg_replace() not getting rid of newlines :|
Wil 17158 Jun 12, 2003, 6:12 PM
Post; hot thread Re: [Wil] ereg_replace() not getting rid of newlines :|
Andy 17063 Jun 13, 2003, 2:50 AM
Post; hot thread Re: [Wil] ereg_replace() not getting rid of newlines :|
Andy 17031 Jun 13, 2003, 2:51 AM