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 17403 Jun 11, 2003, 8:19 AM
Thread; hot thread Re: [Andy] ereg_replace() not getting rid of newlines :|
hennagaijin 16949 Jun 12, 2003, 4:47 AM
Thread; hot thread Re: [hennagaijin] ereg_replace() not getting rid of newlines :|
Andy 17004 Jun 12, 2003, 4:53 AM
Thread; hot thread Re: [Andy] ereg_replace() not getting rid of newlines :|
Paul 16974 Jun 12, 2003, 6:15 AM
Thread; hot thread Re: [Paul] ereg_replace() not getting rid of newlines :|
Andy 16937 Jun 12, 2003, 6:43 AM
Thread; hot thread Re: [Andy] ereg_replace() not getting rid of newlines :|
Paul 16943 Jun 12, 2003, 6:57 AM
Thread; hot thread Re: [Paul] ereg_replace() not getting rid of newlines :|
Wil 16927 Jun 12, 2003, 7:37 AM
Thread; hot thread Re: [Wil] ereg_replace() not getting rid of newlines :|
Andy 16949 Jun 12, 2003, 8:03 AM
Thread; hot thread Re: [Andy] ereg_replace() not getting rid of newlines :|
Wil 16914 Jun 12, 2003, 8:12 AM
Thread; hot thread Re: [Wil] ereg_replace() not getting rid of newlines :|
Andy 16996 Jun 12, 2003, 8:17 AM
Thread; hot thread Re: [Andy] ereg_replace() not getting rid of newlines :|
Paul 16967 Jun 12, 2003, 8:19 AM
Thread; hot thread Re: [Paul] ereg_replace() not getting rid of newlines :|
dan 16930 Jun 12, 2003, 9:25 AM
Thread; hot thread Re: [dan] ereg_replace() not getting rid of newlines :|
Paul 16931 Jun 12, 2003, 9:32 AM
Thread; hot thread Re: [Paul] ereg_replace() not getting rid of newlines :|
dan 16966 Jun 12, 2003, 9:56 AM
Thread; hot thread Re: [dan] ereg_replace() not getting rid of newlines :|
Paul 16874 Jun 12, 2003, 9:58 AM
Post; hot thread Re: [Paul] ereg_replace() not getting rid of newlines :|
dan 16821 Jun 12, 2003, 10:01 AM
Thread; hot thread Re: [Andy] ereg_replace() not getting rid of newlines :|
Wil 16920 Jun 12, 2003, 8:33 AM
Post; hot thread Re: [Wil] ereg_replace() not getting rid of newlines :|
Andy 16903 Jun 12, 2003, 8:39 AM
Thread; hot thread Re: [Wil] ereg_replace() not getting rid of newlines :|
Paul 16904 Jun 12, 2003, 8:56 AM
Thread; hot thread Re: [Paul] ereg_replace() not getting rid of newlines :|
Wil 16956 Jun 12, 2003, 10:45 AM
Thread; hot thread Re: [Wil] ereg_replace() not getting rid of newlines :|
Andy 16897 Jun 12, 2003, 3:38 PM
Thread; hot thread Re: [Andy] ereg_replace() not getting rid of newlines :|
Paul 16895 Jun 12, 2003, 4:13 PM
Thread; hot thread Re: [Paul] ereg_replace() not getting rid of newlines :|
Wil 16952 Jun 12, 2003, 6:12 PM
Post; hot thread Re: [Wil] ereg_replace() not getting rid of newlines :|
Andy 16856 Jun 13, 2003, 2:50 AM
Post; hot thread Re: [Wil] ereg_replace() not getting rid of newlines :|
Andy 16824 Jun 13, 2003, 2:51 AM