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

how to get values from $_Post with onchange="form.submit();"?
Hi, I have a form that submit to itself with a file upload field and two other hidden field values.<

cookie problem
I hv a website url
In this site main menu functionality based on cookie when user click on parti

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


<?php

/**
* @author samoi
* @copyright 200

Display certain image depending on time of year
Hi, I am new to these forums and would really appreciate some advice on a piece of coding I have don

The repetition structure: the while statement not working
New programming student, have assignment as follows:
A restaurant has 4 lunch combos for custom

Preloading images
Posting this question here because I am not sure where this should belong.I am building an asp.net a

Problem with PHP code- simple contact form
Hi Folks,
I'm relativily new to PHP; I know HTML and CSS stuff but I have a problem- I have a co

HTML Email rec'd as Source Code
The code does create and send the email successfully. However, the message shows as html code and n

PECL uploadprogress for php5.2
Hey, I just installed PHP5 via .htaccess on my 1and1 Shared Hosting Account.

How would I exac

Lack of simpleXML Documentation
What is up with this.

Look at: http://www.php.net/manual/en/function.simplexml-load-file.php<

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