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

Quick variable question
hey guys/gals,
im trying to write a php script and it works fine as i have it, but i need to set

Problem with variable declaration in switch statement
Hello, I am having some trouble assigning a value to a variable inside a switch statement. What I a

restricting another login once you logout
Hello,

how can I restrict a page from login authenticating against info in a MySQL DB for a s

Call db table from any PHP file
Hi,

I want to be able to call a database table that will be setup in another file called init

Accessing element of object array
Hello

My object looks like this:


Array ( [0] => User Object ( [id] =>

Pro-rata Billing in Periodic Billing for Rental
Hi guys,

We have a situation, where a rental contract starts at the mid of the month say

php redirecting
i wont open a new thread but i have a question about redirecting....
i wonder why my code doesnt

Oracle Connectivity
Hi Every One,

Can we access SAP from oracle database.If it possible then please spec

how to insert value
I am having file bookissueadd.php..... in which i am having tag

<td height="21&q

retrieving policy name inside the function called by this particular policy
Hi there,

I've playing around with dbms_rls package, trying to set up some security repo

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