Re: [PHP-DB] functions, the best way to implement and arrange them..

2011-07-13 Thread Taco Mathijs Hillenaar-Meerveld
yes, it was a structure like that i was looking for. so a class is a group of functions? i have heard about 'wrappers' to and from what i've heard it is the same thing? On Tue, Jul 12, 2011 at 11:36 PM, Karl DeSaulniers k...@designdrumm.comwrote: On Jul 12, 2011, at 7:28 AM, Taco Mathijs

Re: [PHP-DB] functions, the best way to implement and arrange them..

2011-07-13 Thread Karl DeSaulniers
On Jul 13, 2011, at 3:09 AM, Taco Mathijs Hillenaar-Meerveld wrote: yes, it was a structure like that i was looking for. so a class is a group of functions? i have heard about 'wrappers' to and from what i've heard it is the same thing? On Tue, Jul 12, 2011 at 11:36 PM, Karl DeSaulniers

Re: [PHP-DB] functions, the best way to implement and arrange them..

2011-07-13 Thread Gunawan Wibisono
using function is good.. I like to use it in my script.. but I do think about you should use Class because Class make your script more structure.. and you can hide your setting to make everyone unable to see or hack you system.. example.. I always like to use h1bla/h1 then i built function h1($s)

[PHP-DB] how does this regular expression works

2011-07-13 Thread who.cat
Reading some code from the web spider,got the such a expression : preg_match(@head[^]*(.*?)\/head@si,$file, $regs); It's about get the head content of a website,i wanna know the match detail .Could someone give some tips , thanks in advance . All you best What we are

RE: [PHP-DB] how does this regular expression works

2011-07-13 Thread Shahriyar Imanov
That Regex actually has an unnecessary part to it - it would be better to write it like: /\head.*?\(?Phead_tag_innerHTML.*?)\\/head\/sim I added /m modifier, telling it that the search is performed in Multiline basis. Added head_tag_innerHTML named reference for you, so writing this Regex in

[PHP-DB] Parsing words

2011-07-13 Thread Ron Piggott
Hi Everyone. Using the following query: SELECT `topic` FROM `frequently_accessed_passages_of_scripture` WHERE `frequently_accessed_passages_of_scripture_theme_reference` = 1 I would like to parse all the words out of the column topic that are 4 characters long or more, in alphabetical

Re: [PHP-DB] functions, the best way to implement and arrange them..

2011-07-13 Thread Tamara Temple
On Jul 12, 2011, at 7:28 AM, Taco Mathijs Hillenaar-Meerveld wrote: It might be a simple question for the local die-hards among here, but i'm really wondering about how developers arrange their scripts and keep their map structures. today i was looking for the best way to keep my scripts