What kind of documents? If you are referring to Word or Excel documents, in most cases those applications determine the paging dynamically (usually by looking at the current assigned or default printer, fonts available, any font substitutions where not available, etc. Only permanent page ejects are the one's inserted by the author, assuming he bothered to do that.
You should also be aware there is a size limitation on the mysql "TEXT" data type (I believe about 65K, MEDIUM TEXT and LONG TEXT are bigger), although I am not sure if they are supported by the mysql php api). To avoid all this, most developers store document files in a special directory (only accessible to the userid of the web site) with the unique filename stored in the db (perhaps with the original filename, which may not be unique). hope this helps, Warren Vail Tools, Metrics & Quality Processes (415) 667-7814 Pager (877) 774-9891 215 Fremont 02-658 -----Original Message----- From: Juan Pablo Aqueveque [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 23, 2002 9:43 AM To: [EMAIL PROTECTED] Subject: [PHP] paging MySQL layout Hi everyone. I know, this is a off topic. My always nice boss wants to put a series of documents in our web site. I want to save myself I work and I want to put them in a DB. Somebody can help me with the layout of my DB?. I have some idea like this. create table documents ( id in(11) not null auto_increment primary key, document text default null) it is a very basic, simple idea (I want to show something links like Pag 1 | pag.2 | etc.) When it finishes, I will share the result. thanks! -Jp ________________________________________________________ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php