need help with php get


Posted on 16th Feb 2014 07:03 pm by admin

i have a option box that gets filled with dates, but how do i get once the option value has been clicked for example they select 2007 from the drop down, it then posts that value back to the same page.

I have this so far but doesnt do anything when clicked.

Code: <option value="<?=$this_page.'&year'?>" <? if($_GET{'year'}){echo 'selected';}?>><?=$year?></option>
Thank in advance

No comments posted yet

Your Answer:

Login to answer
198 Like 7 Dislike
Previous forums Next forums
Other forums

Send current URL in URL with a $_GET variable problem.
Hello community,

I have created a function that gets the current variable of a page, example:

Beginner PHP code help
Hi I'm new to php but if someone could please read the question below and help it would be great.

I got my hosting suspended XD
So I saw this challenge a day or so ago

http://www.programming-challenges.com/pg.php?page=dow

pull content
I have an existing page, domain/adverts.php which has a good PR. I've just rebuilt my site and the n

Problem with creating FI documents
Hi, Experts!

when i create Fi doc. with standart transaction, i ve been had such problem

Session problem?!?
Hello All! I am very new to the php world but I am working on fixing things that a previous programm

php calculate
this code echoes correctly the sum but the inserted result is 0??
Code: <?php
$TotalNum

database design
Hi,

I got a page which allow candidate to type in their previous working experience,
I let

this code is strange !
Hi i got this code from the web.. It checks for live and dead socks
It is working perfectly on my

Why doesn't this work? (SSH2)
This is my script:

Code: <?php
$connection = ssh2_connect('213.251.167.109', 22);

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash