Re: [PHP-DB] MySQL REGEXP functionality... any way to make this easier?

2002-10-10 Thread Martin Adler
Hi, unfortunately i can't help you much, but listen you can make your pattern more readable if you delete "[]" there's no need for classes in your pattern SELECT * FROM ospd WHERE word REGEXP '^a?p?e?$|^a?e?p?$|^p?e?a?$|^p?a?e?$|^e?a?p?$|^e?p?a?$'; ? = one or none but if you need each letter th

Re: [PHP-DB] incrememnting an array

2002-09-20 Thread Martin Adler
I hope the little script bellow helps you greet Martin '; print_r($arr2); echo ''; ?> - Original Message - From: "John Coder" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, September 20, 2002 8:19 AM Subject: [PHP-DB] incrememnting an array hi all this is what I would like

[PHP-DB] strange behavior

2002-09-12 Thread Martin Adler
Hi, i start a session on a entrypage with a form, and i wonder about the output to the browser. There appeared a input-field of the type hidden with the session-name as name and the session-id as value. How can I switch this PHP-behavior off? CODE OUTPUT ...

Re: [PHP-DB] header

2002-09-05 Thread Martin Adler
That's wrong!!! the output starts erlier everything and i mean realy everything outside is output!!! remember that it's php native behavior to send stuff outside to the client with the standard header for plain text greet Martin - Original Message - From: "Devrim GUNDUZ" <[EMAIL PROTE

Re: [PHP-DB] form validation question - regex not working

2002-08-22 Thread Martin Adler
If you realy want to match vaild E-Mailadresses (rfc822 conformal) you have to do things like this --- short pattern start -- (?:[\040\t]|\((?:[^\\\x80-\xff\n\015()]|\\[^\x80-\xff]|\ ((?:[^\\\x80-\xff\n \015()]|\\[^\x80-\xff])*\))*\))*(?:(?:[^(\040)<>@,;:".\\\[\]\000-\037\x80-

Re: [PHP-DB] MySQL and BLOB

2002-08-21 Thread Martin Adler
maybe RTFM is not the answer!!! i think this will help a little more http://www.mysql.com/documentation/mysql/bychapter/manual_Reference.html#Sto rage_requirements greet Martin - Original Message - From: "Jason Wong" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 22,

[PHP-DB] PHP IDE

2002-08-15 Thread Martin Adler
m sorry again, it's realy hard to find a good IDE for LINUX greet Martin --------- Martin AdlerCGI, Perl, PHP, MySQL Continum AG Tel. +49 761 4794090 Bötzinger Straße 2

Re: [PHP-DB] TEXTAREA ...

2002-07-17 Thread Martin Adler
That's right but if the variable is initialised by the form and you want to write the variable in to your html-document it's better to write this $content = nl2br(htmlentities(stripslashes($content))); - Original Message - From: "Martin Clifford" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED

[PHP-DB] Re: prevent results

2002-06-26 Thread Martin Adler
+---+----+--+ | 6 | Who's not ... | 2002-06-13 | Martin Adler | ++---++--+ the soluton for my former problem is in the HAVING clause the stuff in the min()-function returns only 1 when the category have the same

[PHP-DB] prevent results

2002-06-26 Thread Martin Adler
SQL. Maybe someone knows a cleaner solution This is the result: ++---++--+--+ | id | head | date | author | indi | ++---+----+------+--+ | 6 | Who's not ... | 2002-06-13 | Martin Adler |1 | | 6 | Who's not .

Re: [PHP-DB] force no results

2002-06-25 Thread Martin Adler
--+----+------+--+ | 6 | Who's not ... | 2002-06-13 | Martin Adler |1 | | 6 | Who's not ... | 2002-06-13 | Martin Adler |0 | | 6 | Who's not ... | 2002-06-13 | Martin Adler |1 | ++---

[PHP-DB] force no results

2002-06-24 Thread Martin Adler
ely Martin ----- Martin Adler CGI, Perl, PHP Continum AG Tel. +49 761 4794090 Bötzinger Straße 29a Fax. +49 761 4794099 79111 Freiburg i. Br.

[PHP-DB] Re: REGEXP problem

2002-06-14 Thread Martin Adler
at_no | head | date | author | text > | keywd | id | cat_no | cat | gid | eid | gid | cid | id | name > | > ++-+--+---++--+- > ----+---+--++- -- > ---+--+--+--+--+--+-+ > | 6 | 2 | 0.1.2.24 | Wer nicht ... | 2002-06-13 | Martin Adler | .in der > Gruppe Technik ist soll dies nicht lesen können |

[PHP-DB] REGEXP problem

2002-06-14 Thread Martin Adler
---+ | 6 | 2 | 0.1.2.24 | Wer nicht ... | 2002-06-13 | Martin Adler | .in der Gruppe Technik ist soll dies nicht lesen können | |1 | 0 | ROOT | NULL | NULL | NULL | NULL | NULL | NULL| | 6 | 2 | 0.1.2.24 | Wer nicht ... | 2002-06-13 | Martin Adler | .in der Gruppe Techni

[PHP-DB] REGEXP problem

2002-06-14 Thread martin . adler
o | cat | gid | eid | gid | cid | id | name| ++-+--+---++--+-+---+--++--+--+--+--+--+--+-+ | 6 | 2 | 0.1.2.24 | Wer nicht ... | 2002-06-13 | Martin Adler | .