Re: excel or word and PHP/mysql
From: Roger Smith (roger_at_ns_jadebox.com)
Date: 10/28/03
- Previous message: Jim Moseby: "Re: Select unique data from a field"
- In reply to: Nikolai Chuvakhin: "Re: excel or word and PHP/mysql"
- Next in thread: dundonald: "Re: excel or word and PHP/mysql"
- Reply: dundonald: "Re: excel or word and PHP/mysql"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 28 Oct 2003 14:23:13 GMT
> > is it possible for EXCEL or WORD document to be automatically
> > inserted into MYSQL database? somehow?
>
> Yes. Define the respective field as BLOB and be sure to addslashes()
> before inserting and stripslashes() some time between retrieval and
> output to client.
You shouldn't do a stripslashes() on data retrieved from MySQL. You add
slashes so that the syntax of the INSERT or UPDATE query is correct. The
added slashes are not actually stored with the data.
-- Roger
http://www.jadebox.com/
- Previous message: Jim Moseby: "Re: Select unique data from a field"
- In reply to: Nikolai Chuvakhin: "Re: excel or word and PHP/mysql"
- Next in thread: dundonald: "Re: excel or word and PHP/mysql"
- Reply: dundonald: "Re: excel or word and PHP/mysql"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|