RE: [PHP-DB] Re: Empty display loop...

From: Date: Wed, 26 Mar 2003 14:07:35 +0000
Subject: RE: [PHP-DB] Re: Empty display loop...
Groups: php.db 
Request: Send a blank email to php-db+get-26634@lists.php.net to get a copy of this message
OK... I moved the form tag up before the table tag and added a tr tag to the beginning of the first line of display in the loop. No difference in the output. The first line of the output loop is still a completely empty line. -----Original Message----- From: michael.mauch@gmx.de [mailto:michael.mauch@gmx.de] Sent: Tuesday, March 25, 2003 6:30 PM To: php-db@lists.php.net Subject: [PHP-DB] Re: Empty display loop... Scott V Nipp <sn4265@sbc.com> wrote: > I am working on a page that displays a line of information with a > checkbox at the end. I began by getting all of the information I wanted > displayed working properly and now I am adding the checkbox. Everything is > going find with the exception that all of a sudden with the checkbox code > in I am getting an empty line and checkbox at the beginning of the loop. I > cannot figure out where this is coming from. Please let me know where I > have gone wrong. Snipping a lot so you can see the problem: > <table width="90%" bgcolor="#CCCCCC" cellspacing="0"> > <form method=post action="account_details.php"> > </table> > </form> Your nesting is bad. Put the <form> tag before the table. And you don't have a <tr> in your loop. Regards... Michael -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.db (#26634) next »