$_GET Not working
Posted by: kailashr2k (---.114.164.122.airtelbroadband.in)
Date: June 12, 2009 03:09PM

Am just using a simple code in php to get the form values i.e

$_GET['from']...


But am getting parse error in that line please help me

Thanks

Options: ReplyQuote
Re: $_GET Not working
Posted by: stevenmartin99 (---.b-ras2.blp.dublin.eircom.net)
Date: June 12, 2009 03:16PM

need to see all the code

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: $_GET Not working
Posted by: kailashr2k (---.215.164.122.airtelbroadband.in)
Date: June 13, 2009 09:17AM

Actually am using just this only like

<?php

$frm = $_GET['from'];

echo $frm;

?>

and the URL seems like

.../verify.php?from=chennai

Options: ReplyQuote
Re: $_GET Not working
Posted by: stevenmartin99 (---.b-ras2.blp.dublin.eircom.net)
Date: June 13, 2009 09:21AM

this seems ok , can you paste up the error exactly ?

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: $_GET Not working
Posted by: kailashr2k (---.215.164.122.airtelbroadband.in)
Date: June 13, 2009 09:47AM

Parse Error : parse error in line 3

Options: ReplyQuote
Re: $_GET Not working
Posted by: stevenmartin99 (---.b-ras2.blp.dublin.eircom.net)
Date: June 13, 2009 10:06AM

i just tested it and it worked fine.


did u paste up the code or write again for the forum? must be a tiny error in ur file

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: $_GET Not working
Posted by: kailashr2k (---.232.164.122.airtelbroadband.in)
Date: June 17, 2009 08:45AM

Actually the one i wrote is the code i tried but its giving me the same error i tried it out in my office its working fine.. I want to know weather to configure anything for that to work.

Options: ReplyQuote
Re: $_GET Not working
Posted by: c2dan (---.15-1.cable.virginmedia.com)
Date: June 17, 2009 08:19PM

What text editor are you using to edit your php files? Make sure you're using a plain text editor such as Notepad.

Save the file encoding as ASCII or if your editor supports UTF-8 without BOM then save it as that.

Options: ReplyQuote


Sorry, only registered users may post in this forum.