[PHP] Array or SQL?

2002-02-28 Thread Kristjan Kanarik
Hi, I've never had reason to get deeply into array functions, but now it is very likely needed. I'm working on a small search engine (to search text from articles) and I'm not sure wheter I will be able to complete it without any external help. Here is a snip of code: /* I'm using MySQL 3.23.

[PHP] eregi, ereg or smth. else???

2002-02-26 Thread Kristjan Kanarik
I've never had time to get into those ereg, eregi etc. functions, and now I am affraid I probably need to use them. Here is the problem I need to solve: I have a string (lead of an article), about 200-250 characters long. And then I do have a search query - variable $q Now, what I'd like to do i

[PHP] dates only in the future

2001-09-25 Thread Kristjan Kanarik
st, I need probably Javascript. Am I correct? I rather prefer to keep my site Javascript free and therefore it would be great if somebody has already written such a function and would be ready to share it with me/others. If not, any ideas how to start... TIA & happy coding, Kristjan Kan

[PHP] Login system

2001-07-12 Thread Kristjan Kanarik
Dear list, I'm sorry to bother (or sorry for being stupid!) , but I've been looking around for some days and can't find what I'd like to have. My knowledge about sessions is literally non-existent and therefore I decided not to start creating a 'bycycle' from scratch. I'm looking forward for an