[PHP] myPhpAdmin/mysql/php/ Problem

2001-08-06 Thread Julian Simpson
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

[PHP] another REGEX question

2001-08-03 Thread Julian Simpson
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

RE: [PHP] another REGEX question

2001-08-02 Thread Julian Simpson
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

[PHP] regex question

2001-07-16 Thread Julian Simpson
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