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

Error In Syntax
I got this error:

Code: Parse error: syntax error, unexpected '>' in /home/bucket/publ

Linkage between two scripts
Okay say I have this for a link in a script:

Code: <li><a href="#&q

Sql and php order list script problems
Hi im having a few problems with trying to get the coding right on a orders list ive done (or trying

How do I send data using an html link
Hi

If I have
<a href="main_file.php">

How do I send data t

C++ Http request?
Code: string Response = "LOGIN_UNSUCCESSFUL"; System.Net.WebRequest request = Sy

text box alphanumeric caracters only
hi all!

I have search on google on how to enter in a test box only caracters A-Z,a-z,0-9 usi

Shuffle Array
Hi,

I am writing a script for a game that needs players to randomly be assigned a target (ano

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

MII Netweaver Server stopped due to CPIC connection Problem
Dear Experts,
We have SAP XMII 12.0 setup running on Netweaver 2004s,7.0, Java Stack only.

GET vs SUBMIT Button to show sections on one index.php page?
Just curious if one of these ways is better (i.e. more efficient) than the other.

I have a

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