Reply to Form in one row of table

Your name:

Reply:


Posted by Krycek on 07/24/05 17:46

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:

<table>
<tr><th>Col name1</th><th>Col name2</th><th>Col
name3</th><th>Options</th></tr>
<!-- 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>
<!-- Second 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>

....
</table>

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.

Thanx for help.

--
krycek6@wp.pl

[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

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