You are here: Re: UPDATE and increment by 10 « All PHP « IT news, forums, messages
Re: UPDATE and increment by 10

Posted by Arjen on 09/04/06 08:26

version2 schreef:
> Hi,
>
> i want to update each field in a database table and increment by 10.
>
> so it will look like
>
> 10, 20, 30, 40, 50
>
> if anyone can help it would be great


Why would. you wanna do that ?

Are you trying to create a sort ?

To awnser ur question (I assume u know how to update a table)

try this
http://www.tizag.com/phpT/forloop.php

Arjen

 

Navigation:

[Reply to this 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

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