Reply to Re: Form in one row of table

Your name:

Reply:


Posted by Steve Pugh on 07/24/05 18:24

Krycek <krycek6@wp.pl> wrote:

>I want to create form that will take one row of a table. I use it with PHP
>script whith taking data from database and should create something like
>this:
>
><!-- First row -->
><form><tr><td><input ... /></td><td><input ... /></td><td><input ...
>/></td><td><input type="submit" name="action" value="Save" /><input
>type="submit" name="action" value="Delete" /></td></tr></form>
>
>But when I generate code like above Opera adds break line before table for
>every </form> tag so if I have a lot of rows table isn't in top of page.
>Also code like above is not valid HTML 4.01 Transitional (acording to W3
>org validator).
>When I delete </form> tag from source everything is ok (but of course code
>still is not valid).
>
>Does enyone know how I should resolve that problem? It is important to me
>to generate valid HTML 4.01 Transitional code.

Use one single form around the whole table and modify the script on
the server that receives the form input accordingly.

Steve

--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor

Steve Pugh <steve@pugh.net> <http://steve.pugh.net/>

[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

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