frustrated with longblob field

3 views
Skip to first unread message

chandu

unread,
Sep 6, 2008, 4:31:41 AM9/6/08
to Professional PHP Developers
i am unable to get exact format of file i uploaded.in mysql i uploaded
> files of .doc and .pdf......i kept format as longbob...............but
> when written query as (mysql_fetch_object) $out->paper.......i am
> getting output as a paragraph with no spaces and no new lines in
> miidle ................what is the query i need to write to get out
> from database as i uploaded ......................please help me

anjithkumar....@gmail.com

unread,
Sep 6, 2008, 6:35:17 AM9/6/08
to Professional PHP Developers
i wll say my need .....our site contains some offfice papers which are
may be in doc or pdf or any other form while uploading to mysql no
problem but when printing that i am using echo
$out[fieldnumber]...................the field type i kept is
longblob.......mimetype but output is a paragraph with no spaces no
separate lines .........i think the paper is stored in mysql database
in longblob format how to get my uploaded format
Reply all
Reply to author
Forward
0 new messages