[PHP] question varibles and url

2002-07-10 Thread @cid

on my page (lessen.php)

i have a variable $sort

if this varible is empty if enterd the page then it will be set on 'day'

i have 3 links in the page

lessen.php?sort=day
lessen.php?sort=game
lessen.php?sort=player

so these links refure to the same page (itself)
on clicked it opens itself and should set the varible to day, game or player
but that doesn't happen.
can somebody help me please


see attachmend

greetz cid



begin 666 uurrooster.html
M/$A434P^#0H\2$5!1#X-CQ4251,13Y);G-C:')I:G9I;F\+U1)5$Q%/T*
M/$U%5$$@2%144U%455)5CTB0V]N=5N=U47!E(B!#3TY414Y4/2)T97AT
M+VAT;6P[(-H87)S970]:7-O+3@X-3DM,2(^#0H\(2TM($EM86=E4F5A9'D
M4')E;]A9!38W)I'0@*QA6]U=#,N'-D*2 M+3X-CQ30U))4%0@5%E0
M13TB=5X=]J879AV-R:7!T(CX-CPA+2T-T*9G5N8W1I;VX;F5W26UA
M9V4H87)G*2![#0H):68@*1O8W5M96YT+FEM86=ERDPT*0ERVQT(#T
M;F5W($EM86=E*D[#0H)7)S;'0NW)C(#T@87)G.PT*0ER971UFXG-L
M=#L-E]#0I]#0H-F9U;F-T:6]N(-H86YG94EM86=ER@I('L-EI9B H
M9]C=6UE;G0N:6UA9V5S(8F(APF5L;V%D1FQA9R ]/2!TG5E*2DPT*
M0EF;W(*'9AB!I/3 [(D\8VAA;F=E26UA9V5S+F%R9W5M96YTRYL96YG
M=[(DK/3(I('L-D)61O8W5M96YT6V-H86YG94EM86=ERYAF=U;65N
M='-;:5U=+G-R8R ](-H86YG94EM86=ERYAF=U;65N='-;:2LQ73L-D)
M?0T*7T-GT-T*=F%R('!R96QO861;%G(#T@9F%LV4[#0IF=6YC=EO
M;B!PF5L;V%D26UA9V5S*DPT*6EF(AD;V-U;65N=YI;6%G97,I('L-
MD);6%I;E]S:71E7S X7V]V97(/2!N97=);6%G92@B:6UA9V5S+VUA:6Y?
MVET95\P.UO=F5R+F=I9B(I.PT*0EPF5L;V%D1FQA9R ]('1R=64[#0H)
M?0T*?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BYG:68B(%=)
M1%1(/3(R($A%24=(5#TQ($%,5#TB(CX\+U1$/T*3PO5%(^#0H\+U1!0DQ%
M/T*/$M+2!%;F0@26UA9V5296%D2!3;EC97,+2T^#0H\+T)/1%D^#0H\
+TA434P^
`
end


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] question varibles and url

2002-07-10 Thread Richard Baskett

I think you sent the wrong file...

Rick

Until you have learned to be tolerant with those who do not always agree
with you; until you have cultivated the habit of saying some kind word of
those whom you do not admire; until you have formed the habit of looking for
the good instead of the bad there is in others, you will be neither
successful nor happy. - Napolean Hill


 From: @cid [EMAIL PROTECTED]
 Date: Wed, 10 Jul 2002 23:24:23 +0200
 To: [EMAIL PROTECTED]
 Subject: [PHP] question varibles and url
 
 on my page (lessen.php)
 
 i have a variable $sort
 
 if this varible is empty if enterd the page then it will be set on 'day'
 
 i have 3 links in the page
 
 lessen.php?sort=day
 lessen.php?sort=game
 lessen.php?sort=player
 
 so these links refure to the same page (itself)
 on clicked it opens itself and should set the varible to day, game or player
 but that doesn't happen.
 can somebody help me please
 
 
 see attachmend
 
 greetz @cid
 
 
 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] question varibles and url

2002-07-10 Thread Danny Shepherd

What version of PHP are you using? Have you got register_globals on? If
they're off you'll need to get the $sort variable by using
$HTTP_GET_VARS['sort'] (or $_GET['sort'] if you're using PHP4.1.0 or later)

You attachched the wrong file (html output instead of PHP source)

You really could do with a spell checker btw :-)

HTH

Danny.

- Original Message -
From: @cid
To: [EMAIL PROTECTED]
Sent: Wednesday, July 10, 2002 10:24 PM
Subject: [PHP] question varibles and url


on my page (lessen.php)

i have a variable $sort

if this varible is empty if enterd the page then it will be set on 'day'

i have 3 links in the page

lessen.php?sort=day
lessen.php?sort=game
lessen.php?sort=player

so these links refure to the same page (itself)
on clicked it opens itself and should set the varible to day, game or player
but that doesn't happen.
can somebody help me please


see attachmend

greetz @cid









--
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