Re: [PHP] Search problem

2005-05-22 Thread Joe Wollard
I used to search the same way until someone on this list mentioned using a fulltext index in mysql. Doing this almost eliminated all my headaches with searching. Easiest way to create a fulltext index is to use phpMyAdmin. Once you've created the fulltext index on `title`,`description`,`price`,`

[PHP] Re: Re: __get() not reentrant?

2005-05-22 Thread Christopher J. Bottaro
Marek Kilimajer wrote: > Christopher J. Bottaro wrote: >> Jochem Maas wrote: >> >> >>>Christopher J. Bottaro wrote: >>> Maybe I'm using "reentrant" incorrectly, but here is what I mean... class Test { function __get($nm) { if ($nm == 'x') return $this

Re: [PHP] Re: __get() not reentrant?

2005-05-22 Thread Marek Kilimajer
Christopher J. Bottaro wrote: Jochem Maas wrote: Christopher J. Bottaro wrote: Maybe I'm using "reentrant" incorrectly, but here is what I mean... class Test { function __get($nm) { if ($nm == 'x') return $this->func(); elseif ($nm == 'y') return 'y'; else

[PHP] financial application form

2005-05-22 Thread Dave Sayer
Hi, First post here. I have a large application form (financial) which I have working fine but I need to be able to have it either work as a single application or a joint one. If joint it needs to display two forms for the user to fill in. I am just wondering how I can do this without having t

[PHP] Re: __get() not reentrant?

2005-05-22 Thread Christopher J. Bottaro
Jochem Maas wrote: > Christopher J. Bottaro wrote: >> Maybe I'm using "reentrant" incorrectly, but here is what I mean... >> >> class Test { >>function __get($nm) { >> if ($nm == 'x') >> return $this->func(); >> elseif ($nm == 'y') >> return 'y'; >> elsei

Re: [PHP] __get() not reentrant?

2005-05-22 Thread Jochem Maas
Christopher J. Bottaro wrote: Maybe I'm using "reentrant" incorrectly, but here is what I mean... class Test { function __get($nm) { if ($nm == 'x') return $this->func(); elseif ($nm == 'y') return 'y'; elseif ($nm == 'xx') return 'x'; } fu

Re: [PHP] SMarty and commercial php (a little 0t)

2005-05-22 Thread M Saleh EG
I'd recommand you to use the HTML_TEMPLATE_IT. It's a PEAR class for templating; I've personaly worked on it for building skinnable applications in which users and admins can change the look of the pages. Bottom line, it's a PEAR library/extension so no hastle since most of the hosts include it