Reply to Next value

Your name:

Reply:


Posted by zek2005 on 01/31/06 03:52

Hi!!!

I've made a form with a 'select' statement through a

echo('<select name="res">');
echo('<option selected value=""> Select option</option>");');
while($row = mysql_fetch_array($resumen))
{
echo('<option value="' .$row[id]. '">'
..strtoupper($row[titulo_esp]). '</option>');
}
echo('</select>');

The user selects an option and a text is displayed. Now, I want to
insert a "previous" and a "next" button so the user can navigate from
here without selecting any other value from the "select" form.

Example: The posible 'id' values are: 1,4,5,7,8,9. The user chooses 5,
so if he press the "next" button he will navigate to the page with the
id#7 and if the user selects "previous" he will go to the id#4.

I tried to use the funtion next(), but I don't know how to do it.

Can anyone help me with this problem?

Thanks in advance!

Ezequiel

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация