Re: [PHP] Pluralize a word for searching a database

2001-02-28 Thread richard merit
I don't think you can since the plural form of English words can vary, woman, women, families, family, foot, feet, church, churches, sheep, sheep, road, roads... ? rm --- "Robert V. Zwink" [EMAIL PROTECTED] wrote: Has anyone every written a function in php to pluralize an english word,

Re: [PHP] Daily Rotating Page

2001-02-28 Thread richard merit
We use something like this to changing some sections of the web page based on the day of the year #day number of the year, ex day 181, 183, 183 $subPartQuery=date("z")"; or # day of the week 0=sunday mon=1, tue=3 $subPartQuery=date("w")"; select from database where day_col =

Re: [PHP] very off the topic questions here but hope someone can help out

2001-02-27 Thread richard merit
FWIW, some time back I had to change the owner of a domain name from my name to a corp name. Basically, you have to get the forms from Network Solutions, fill out the page, get it notorized and fax it back to network solutions, you can mail it if you want. Change over takes a couple of days if

Re: [PHP] Help with mass import to MySQL using PHP

2001-02-24 Thread richard merit
No answer, but a question. I noticed you're using, in effect, two id's for each entry, a id number and a doc id number. The first is accomplished thru auto-increment. Wouldn't it be easier to us just one id number, a=LAST_INSERT_ID(id+b) and reserve the first 10k numbers (b), whatever is

Re: [PHP] Terrible Hosting Experience

2001-02-20 Thread richard merit
Actually alabanza hosts a number of "hosting" companies from their baltimore sp? location. About two weeks ago a "hosting" service I used went down, they use alabanza as well, down for almost two days. Then when it did come up, the permissions were all wrong and I couldn't change the files for

Re: [PHP] ereg match problem

2001-02-20 Thread richard merit
There's a code section at zend.com. I noticed someone wrote an email check routine that checks for all domains and the correct format. You might try there. rm --- "W.D." [EMAIL PROTECTED] wrote: I'm testing email address, but want to test not only characters but the @ sign and for .com,

[PHP] High and Low ASCII characters

2001-02-19 Thread richard merit
We process a lot of documents, some text, some html, etc. I need to be able to strip out all characters below an ascii number and above an ascii number. Currently I check character by character, above or below a particular number the character is deleted or replaced in the new string. Anyone run