Reply to Re: Passing on a value to a SUBMIT button - can it be done?

Your name:

Reply:


Posted by Ramon on 09/30/05 03:40

Hmmm... it appears you are fairly green at this :)

But anyway...

To move to another page you have a few options.

Option 1: Do your db operations on the page you are going to.

or

Option 2: Redirect from the page where you are currently performing your
Database operations, using header("Location: destination_page.php");

Hope that helps.

D.

Marcel wrote:
> I'm creating an application with which I can update values in a MySQL
> database.
> Each row of the database table is a web page with a form. After updating the
> fields, the new values are passed on the database table by pressing the
> Submit-button. So far, no problems. Then I want to go on to the next page,
> so I was hoping that something like this would work:
>
> echo '<form method="GET" action ="de.php?pageno=5">';
>
> But it doesn't. I keep on coming back to page 1.
> What should I be doing?
>
> Thanks, Marcel
>
>
>

[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

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