Re: [PHP-DB] Inserting Data into MySQL database

2006-06-16 Thread Oliver Block
Am Donnerstag, 15. Juni 2006 22:42 schrieb Girish Agarwal: > Hi All, > I have a table in mySQL database 5.0 the structure of which is as > follows > ssno INT 9, > lname VARCHAR(15) NOT NULL, > fname VARCHAR(15) NOT NULL, > > I am inserting the values usin

Re: [PHP-DB] how to get the referrer page details

2006-06-16 Thread Oliver Block
Am Donnerstag, 15. Juni 2006 15:46 schrieb Manoj Singh: > Now i came to know that this variable is > not supported by some servers or it can be set off in php.ini setting. So > can any one help me doing this without using $_SERVER['HTTP_REFERER']. That how the things are. Sometimes others do not a

[PHP-DB] Charset/SQL

2006-05-29 Thread Oliver Block
Hi list, I get data from an HTML page that has charset UTF-8 (meta-element) and the table has $encoding=mysql_client_encoding(...). Now I do a $result = mysql_query(iconv("UTF-8", $encoding, $sql), $db_handle); to change encoding of user data. $sql is the complete SQL query. Might there be

Re: [PHP-DB] MySQL: Load Data Infile

2006-05-16 Thread Oliver Block
Am Dienstag, 16. Mai 2006 17:40 schrieb [EMAIL PROTECTED]: > Greets, > > I'm trying to use the load data infile syntax within a php script. The data > is in csv format. I was under the impression that I could reorder the > fields during the insert, such as: > "load data infile 'currentData.txt' int

Re: [PHP-DB] Sending filing attachments using PHP

2006-05-15 Thread Oliver Block
Am Freitag, 12. Mai 2006 00:33 schrieb Ron Piggott (PHP): > Does any one know how to send a file attachment using PHP? You need to reformulate the problem. Does any one know how to create a mime/mulipart message with php? Best Regard