I'm trying to parse an existing html file using php.
I need to use regex to find the first (and only the first) occurance of
and the last (and only the last) occurance of in a string.
They will be replaced with ||.
example of a string:
blah blah some stuff that i need to get blah blah blah.
n
nience :)
Julian
8/2/01 5:19:03 PM, "Jack Dempsey" <[EMAIL PROTECTED]> wrote:
>Try
>$str = preg_replace("", " ",$str);
>
>jack
>
>-Original Message-
>From: Julian Simpson [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, August 02, 2001
I have a string can look like either of the following:
some stuff
some stuff
I want to use eregi_replace to take out the first p tag whether it be or with a space
I assumed that $str = eregi_replace ("", " ",$str);
but it matches the entire string and thus turns the whole string into one spac
who's fault is this?:
I have a table 'cdrequest' it has columns 'albumfill' and 'releasedatefill' among
others
when i do the following query with myphpadmin
update cdrequest set albumfill = "hot shots II", releasedatefill = 20010708 where
requstID = 2;
i get:
You have an error in your SQL sy
4 matches
Mail list logo