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.

Did you know?Explore Trending and Topic pages for more stories like this.
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

EXplanation help
Hey all,

I am still fairly new to PHP programming and I am trying to put together a page wher

Calander layout
Hi i know this sounds like a simple question but i cant find the answer to it anywhere i have added

How to limit the calls to an API
Hello, in my simple script I call an api which effectively involves me getting an xml file.

H

PHP loop
Okay so I have several "articles" stored in a mysql database and am attempting to echo tho

grouping within a foreach?
hello all,

I currently have a list of products spit out from my db via a foreach loop. Right

Is STL important?
I'm just starting programming and I've made it until the Standart Template Library. But the chapter

Multi-image upload problems
Lets see if I can get some help on this one. Can anyone show me what I am doing wrong here. I'm just

PHP/Database issue
My friend is helping me make a database where you go to a certain webpage of my site and the page wi

array ...
hi
Code: function formatCategories($categories, $parentId)
{
// $navCat stores all child

Baffled by Undefined Index in Simple Array: Please Help!
Hello. I have a form which posts an array to this script. However, I can't seem to access the values

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