"Frank M. Kromann" wrote:
Many thanks Frank, changing from varchar to text did indeed fix the
problem.
On reflection, I do now remember reading about this on another mailing
list, it's a pitty my memory failed me when I needed it the most :-)
> The tool used to build the MSSQL extension for PHP
cc:'d to poster
From: "Chris MacKenzie" <[EMAIL PROTECTED]>
> > Either one of the unknown queries in edit_exam_question.inc
> > is truncating the data or the url parameter is truncated, or
> > dbconn.inc is the culprit.
>
> I've attached the two missing files, so this should help to diagnose
> w
pan wrote:
> >Ah, sorry I didn't make it terribly clear. I meant that I only ever get
> >a maximum of 255 chars returned.
>
> O.K. - then that makes it seem a truncation problem and not a
> data definition problem.
>
> minor thing: in edit_exam_question.php there is
> " print 'Select Correct
cc:'d to poster
>Ah, sorry I didn't make it terribly clear. I meant that I only ever get
>a maximum of 255 chars returned.
O.K. - then that makes it seem a truncation problem and not a
data definition problem.
minor thing: in edit_exam_question.php there is
" print 'Select Correct Answer:';
pan wrote:
> i.e., do you know the db.table.field in question is a column type meant
> to hold the data you expect? You seem to be indicating a consistent
> return of 255 when you ask for 400 - seems to be a clue about the
> field specification.
Ah, sorry I didn't make it terribly clear. I meant
pan wrote:
>
> From: "Chris MacKenzie" <[EMAIL PROTECTED]>
> > I've come across an interesting problem. I'm trying to retrieve some
> > text data (in this case a question up to 400 chars), but each time I
> > perform a select statement I only receive the first 255 chars.
> >
> > What's the go her
Pan,
It looks as if you may be using FORM with method=get.
If so try method=post to get the full data
Bob Parker
On Saturday 27 April 2002 20:35, you wrote:
> From: "Chris MacKenzie" <[EMAIL PROTECTED]>
>
> > I've come across an interesting problem. I'm trying to retrieve some
> > text data (in
From: "Chris MacKenzie" <[EMAIL PROTECTED]>
> I've come across an interesting problem. I'm trying to retrieve some
> text data (in this case a question up to 400 chars), but each time I
> perform a select statement I only receive the first 255 chars.
>
> What's the go here, is this just another