Reply to Re: updating information to database

Your name:

Reply:


Posted by Adrienne Boswell on 10/06/07 17:51

Gazing into my crystal ball I observed navin <navin.narayana@gmail.com>
writing in news:1191690191.926321.20380@57g2000hsv.googlegroups.com:

> Hi All,
>
> i have page which shows supplier information in a table format.
>
> Supplier Name Contact Email
> AAA xxxxx xxxxxxx
>
> In order to change or update information for the supplier, i want to
> display supplier name in the table cell as a link.
>
> so if user clicks on the link with the supplier name, it should take
> the user to another page (suplier update page) where it should display
> the supplier information in text boxes. if users wants they can then
> change information and update it into database.
>
> Could anyone please tell me how to do the abve.
>
> If anybody has any other idea to update the information in database,
> please share.
>
> Appreciate any ideas on this.
>
> thanks,
>
> Navin
>
>

What server side language do you have available? What database?

What you would need to do is something like:
<a href="updatepage.php?supplier=1">Some Supplier</a>.

You server side script would retrieve the list of suppliers from the
database and generate the supplier id. Then the update page would look
at the query string and retrieve and update the information for that
supplier only. Be sure to do server side checking BEFORE updating the
table (also check for SQL Injection).

--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share

[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

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