AW: [PHP] can't pass complete URL (part of the query string) from one script to another --??

2002-11-26 Thread Martin Lucas
hi nicole, do you have an example what your query contains ? maybe urlencode($pageURL) or quoting will help greetings martin -Ursprüngliche Nachricht- Von: Nicole Lallande [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 26. November 2002 15:40 An: [EMAIL PROTECTED] Betreff: [PHP]

AW: [PHP] special print function

2002-11-05 Thread Martin Lucas
hi ines, surely ther are several possibilities to solve this problem. i would do it like this: put your values in three arrays suggesting your icons represents links, put a variable after each link. with the 'switch; case' command you can evaluate the get variables, and generate the pages with

[PHP] Strange problem with apache 2.0.39/php 4.2.1/gd-lib

2002-07-15 Thread Martin Lucas
anybody have an idea ? thanks in advance martin Martin Lucas - ICT Manager - TechConsult GmbH European IT-Marketing Research Am Platz der Deutschen Einheit Leipziger Str. 35-37 34125 Kassel FON: +49(0)561 - 8109 172 FAX: +49(0)561 - 8109 2972 mailto:[EMAIL PROTECTED] http://www.techconsult.de

AW: [PHP] PHP to Excel?

2002-06-18 Thread Martin Lucas
hi chad, on http://www.cnovak.com/ you'll find a php-class that generates native excel-files, even with cell formatings and other more or less useful things. greetings martin -Ursprüngliche Nachricht- Von: Chad Day [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 18. Juni 2002 16:52

AW: [PHP] Array questions...

2002-06-12 Thread Martin Lucas
hi leon, Hello, Assume I have the following array: $array = array ( apple = cherry, foo = bar, wom = bat ); How could I easy remove the key and the value of the key foo from that array? unset ($array[foo]); Also, what is the best (and quickest) way to add a key

AW: [PHP] More: Frustrating ?

2002-02-17 Thread Martin Lucas
hi john, maybe this is the right way $where=id like .$id; $query=select * from ccl where '.$where.' order by AU desc; $result=mysql_query($query); regards martin -Ursprüngliche Nachricht- Von: jtjohnston [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 18. Februar 2002 08:00 An:

AW: [PHP] Query Help Needed

2001-11-29 Thread Martin Lucas
take a look at your table definiton. maybe some of your fields have a diferent definition as the value you want to insert. e.g. fax_number in your query-string is defined as string and in your table as integer or something like this regards martin -Ursprüngliche Nachricht- Von:

AW: [PHP] Query Help Needed

2001-11-29 Thread Martin Lucas
that seems to be easy: put every string and varchar in single quotes eg '$surname' and every number like $fax_number without quotes regards martin -Ursprüngliche Nachricht- Von: Payzillee [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 29. November 2001 13:16 An: [EMAIL PROTECTED]

[PHP] associative arrays

2001-07-12 Thread Martin Lucas
Hi everybody i have the following database query: $result=mysql_db_query(database,select item1,item2 from table); while ($row=mysql_fetch_array($result)){ $a=$row[item1]; $b=$row[item2]; } what i need is an associative array, with $a as

AW: [PHP] associative arrays

2001-07-12 Thread Martin Lucas
hi adrian, many thanks for your tip. it works fine. kind regards martin -Ursprüngliche Nachricht- Von: Adrian Ciutureanu [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 12. Juli 2001 15:46 An: Martin Lucas Cc: [EMAIL PROTECTED] Betreff: RE: [PHP] associative arrays $result