Re: [PHP] Vars inside an sql query [Regular expression question]- Again

2003-06-12 Thread Marek Kilimajer
ek Kilimajer" <[EMAIL PROTECTED]> Sent: Thursday, June 12, 2003 4:35 PM Subject: Re: [PHP] Vars inside an sql query [Regular expression question] - Again It's not working also - Original Message - From: "Marek Kilimajer" <[EMAIL PROTECTED]> To: "Hate

Re: [PHP] Vars inside an sql query [Regular expression question] - Again

2003-06-12 Thread Hatem Ben
35 PM Subject: Re: [PHP] Vars inside an sql query [Regular expression question] - Again > It's not working also > > - Original Message - > From: "Marek Kilimajer" <[EMAIL PROTECTED]> > To: "Hatem Ben" <[EMAIL PROTECTED]> > Cc: <[EM

Re: [PHP] Vars inside an sql query [Regular expression question] - Again

2003-06-12 Thread Hatem Ben
It's not working also - Original Message - From: "Marek Kilimajer" <[EMAIL PROTECTED]> To: "Hatem Ben" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, June 12, 2003 5:23 PM Subject: Re: [PHP] Vars inside an sql query [Regular expr

RE: [PHP] Vars inside an sql query [Regular expression question] - Again

2003-06-12 Thread Monu Ogbe
Right then. Here's what I have done, and it works: ===Contents of query.txt=== ===End Contents of query.txt=== Then: ===Contents of parse.php=== ===End Contents of parse.php=== Now, whereas this works, I am still looking for a way to store and interpolate variables contained in "q

Re: [PHP] Vars inside an sql query [Regular expression question]- Again

2003-06-12 Thread Marek Kilimajer
preg_match_all("/^('\$(.*)')/si", $fcontents,$matches); ^^ you don't allow any character between start of the string and single quote. preg_match_all("/^.*('\$(.*)')/si", $fcontents,$matches); Hatem Ben wrote: I'm asking again the same question, coz i guess my question wasn't clear