[fpc-pascal] fpweb tutorial
Michael Van Canneyt
michael at freepascal.org
Tue Jul 13 17:47:32 CEST 2010
On Tue, 13 Jul 2010, Felipe Monteiro de Carvalho wrote:
> On Tue, Jul 13, 2010 at 5:20 PM, Michael Van Canneyt
> <michael at freepascal.org> wrote:
>> My mistake, the correct name is 'Queryfields':
>>
>> Avar:=Request.QueryFields['MyVar'];
>
> Well, that takes an integer as argument, not a string, but I managed
> to build my own routine for that. If something like that isn't already
> in svn fpweb then it should probably be added:
Not needed, it is a regular stringlist, I again typed a mistake.
(I should not do 2 things at the same time :/)
AVar:=Request.QueryFields.Values['MyVar'];
Sorry about the confusion.
But maybe a GetQueryVar() would not be a bad idea.
Michael.
More information about the fpc-pascal
mailing list