Re: [PHP] Re: searching by tags....

2008-10-20 Thread Andrew Ballard
On Sun, Oct 19, 2008 at 10:34 AM, Martin Zvarík <[EMAIL PROTECTED]> wrote: > Ryan S napsal(a): >> >> Hey, >> >> this the first time I am actually working with "tags" but it seems quite >> popular and am adding it on a clients requests. >> >> By tags I mean something like wordpress' implementation o

Re: [PHP] Re: searching by tags....

2008-10-19 Thread Ashley Sheridan
On Sun, 2008-10-19 at 16:34 +0200, Martin Zvarík wrote: > Ryan S napsal(a): > > Hey, > > > > this the first time I am actually working with "tags" but it seems quite > > popular and am adding it on a clients requests. > > > > By tags I mean something like wordpress' implementation of it, for exa

Re: [PHP] Re: Searching and removing

2004-07-29 Thread Matt M.
> I would rather not put it into a file as it will be changing in real time > dynamically so it would put some strain on the filesystem. All I really want to > do now is just stick it into a string variable. How could I do that? you could just use http://us2.php.net/file_get_contents -- PHP Gen

Re: [PHP] Re: Searching and removing

2004-07-29 Thread Justin Patrin
On Thu, 29 Jul 2004 17:25:10 -0700, Justin Patrin <[EMAIL PROTECTED]> wrote: > On Fri, 30 Jul 2004 00:06:33 + (UTC), Jonathan Lassoff > <[EMAIL PROTECTED]> wrote: > > Justin Patrin gmail.com> writes: > > > You could "fix" this script by actually giving it a file to output to > > > and reading

Re: [PHP] Re: Searching and removing

2004-07-29 Thread Justin Patrin
On Fri, 30 Jul 2004 00:06:33 + (UTC), Jonathan Lassoff <[EMAIL PROTECTED]> wrote: > Justin Patrin gmail.com> writes: > > You could "fix" this script by actually giving it a file to output to > > and reading it or by using output buffering to grab the output into a > > string. > > > > Or you co

Re: [PHP] Re: Searching and removing

2004-07-29 Thread Justin Patrin
On Thu, 29 Jul 2004 23:25:41 + (UTC), Jonathan Lassoff <[EMAIL PROTECTED]> wrote: > Justin Patrin gmail.com> writes: > > Assuming there's only one table in the document > > > > preg_match('!]*>.*!i', $text, $matches); > > $table = $matches[0]; > > Thanks! I thought that I was putting it i

Re: [PHP] Re: Searching...

2002-07-19 Thread David Robley
In article <[EMAIL PROTECTED]>, php- [EMAIL PROTECTED] says... > On Friday 19 July 2002 14:08, David Robley wrote: > > > You might consider running the first query just to get a COUNT(), rather > > than extracting all the resulting rows and using mysql_numrows to > > determine how many were retur

Re: [PHP] Re: Searching...

2002-07-19 Thread Jason Wong
On Friday 19 July 2002 14:08, David Robley wrote: > You might consider running the first query just to get a COUNT(), rather > than extracting all the resulting rows and using mysql_numrows to > determine how many were returned Am I missing something? If you do a COUNT() in the query then, in ge

Re: [PHP] Re: Searching a Paradox Table with my PHP Script..

2002-07-11 Thread Chris Hewitt
Kondwani Spike Mkandawire wrote: >Would it be that it takes time to connect to a table if >it is in use? > I don't know Paradox. Does it use row or table level locking. If table locking then if anyone is doing an update then the whole table is locked until the update is complete. If row locking

Re: [PHP] Re: "searching" arrays

2001-08-15 Thread David Robley
On Wed, 15 Aug 2001 16:17, Raphael Pirker wrote: > Hi Richard, > > Thanks a lot for your prompt reply!! I get a parse-error, however, on > line 77 (marked below): > > function search_the_array($array) { > global $search_tmp; > $result = array_search($search_tmp, $array,