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

using file_get_contents??
okay how would i create a script using file_get_contents() in php have it grab search pages 1-20 and

Why does my php page download images over and over
Can anybody please explain to me why my php page keeps downloading the images and other items every

why is it over writing
Code: $filepaths[] = $_FILES['new_image'];
foreach ($filepaths as $filepath)
{
$imagename =

PHP url branch??
Functionally, using PHP, I'm doing a test of login input submitted by a user via an html form in a f

small inaccuracies
I have this code to convert fractional base 10 into base 2:

while($num > 0)

Help with search.php
Hello All

I need the search engine on a site I am building at the moment to display the searc

Print 'a' to 'z' via for loop
A very simple problem..
How Can I print a to z NOT a to y ?
It is a part of a code where
<

quick question
Hi ..

i have a question
how do i set a var so it displays via an echo
Code: $logo = '&a

Easy administration on MySQL databases
My website is database driven and I am very tired of manually making queries to my tables in order t

Load Animated Image while cache is serve
I have a page that loads up using cache and took about 1 to 2 minutes before it loads to the page. <

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