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

Ajax Error since Upgrading to 3.5
Ever since upgrading my site to .NET 3.5 (I needed LINQ), I've been getting this annoying error on o

multiple recipients + dbuser mail recall
Hello,

I am building a php login script.

When the user registers the script will send

Google Map
I have done Google Map Integration for one my project. But for that we need the "latitude and l

some questions
Hello,

I am looking for the answers for following questions:

1) Does PHP support overl

help, header() is not working!
Hello, I have this code:


<?php

/**
* @author samoi
* @copyright 200

Adding Outlook 2007 items via file upload
I am looking for a way to be able to attach an Outlook item (an email message) in an ASP.NET 3.5 app

Help With Showing Users On the Index Page
Ive got this code which works just how i want it to.

Code: <?
$timenow=time();

need help about
i store the value of my select statement result to an array and stored it to a variable named $fname

Losing 'page' data
I have this code that allows me to update my database. But after updating, I lose the $_GET['page']

How to extract/download content from HTTPS page?
Hello to all the Members of this forum, Im Shoiab, A novice programmer in php.. for my first job I h

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