Interchange Developer Resource
[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date ][Interchange by thread ]

[ic] Urlencode problem



Hi list,

A simple query drives me mad !

This is my code:
[query sql=3D"select page,fk_area,name,feld_wahl,search from cat where fk_are=
a
=3D[cgi fk_area]"
type=3Dlist
more=3D1
ml=3D10]
  [on_match]Match:<br>[/on_match]
  [no_match]No match<br>[/no_match]
  [list]
   [page href=3D"[sql-param page]"
            form=3D"fk_area=3D[sql-param fk_area]
                  name=3D[sql-param name]
                  feld_wahl=3D[sql-param feld_wahl]
                  search=3D[sql-param search]"
   ][sql-param name] </A>
[/list]
[more_list]
[more]
[/more_list]
[/query]

This is the url output:

<A=20
HREF=3D"http://127.0.0.1/cgi-bin/kabel_shop_local/einleiter?mv_session_id=3DqNX=
C
mCVj&mv_pc=3D747&fk_area=3D00050%0d%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2=
0
%20%20%20%20%20%20%20%20%20name%3dYV%0d%20%20%20%20%20%20%20%20%20%20%20%20=
%
20%20%20%20%20%20%20%20%20%20%20%20feld_wahl%3dq_leiter%0d%20%20%20%20%20%2=
0
%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20search%3d0%2e30">YV
</A>


This is what I would like to see:

<A=20
HREF=3D"http://127.0.0.1/cgi-bin/kabel_shop_local/einleiter?mv_session_id=3DqNX=
C
mCVj&mv_pc=3D747&fk_area=3D00050&name=3DYV&feld_wahl&q_leiter&search=3D0.30">YV </A=
>

So the & is missing between the cgi_var=3Dvalue pairs.
And I can not access the values [cgi fk_area],[cgi name].....

I think it has to do somethin with urlencoding ;)
My system: IC 4.85; Mac OS X 10.15
=20
Any hints ?
Thanks in advance.

G=F6tz Verdieck

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Goetz.Verdieck@com4office.de






Search for: Sort by: