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/>
Navigation:
[Reply to this message]
|