RE: [PHP] V basic newbie problem
| From: | Dan Vande More | Date: | Wed, 03 Jul 2002 16:05:09 +0000 |
| Subject: | RE: [PHP] V basic newbie problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-105230@lists.php.net to get a copy of this message | ||
DMX is a little shy on descriptions, but you want to use the "Dynamic Table" under the
Application Section.
I make these 5 times a day.
-----Original Message-----
From: Ray Hunter [mailto:rhunter@venticon.com]
Sent: Wednesday, July 03, 2002 8:52 AM
To: PHP GEN; Duncan Ellwood
Subject: Re: [PHP] V basic newbie problem
try something like this
echo '<table>';
while( $result = mysql_fetch_array( $q ) )
{
output here...
}
echo '</table>';
S RAY HUNTER
email: rhunter@venticon.com
www: http://www.venticon.com
aim: spinebl8d3
----- Original Message -----
From: "Duncan Ellwood" <fraggaman@hotmail.com>
To: <php-general@lists.php.net>
Sent: Wednesday, July 03, 2002 8:43 AM
Subject: [PHP] V basic newbie problem
> I'm not sure if this is the right place for this but I'm just starting out
> with php and MySQL....
>
> I have succesfully got a database up and I have managed to populate the
> first row of the html table with the first row of dynamic content
without
> too
> much problem. I have used the visual enviroment of DW Mx for this and it
was
> staightforward enough
>
> My problem arises when I want to fill in the subsequent rows of the table
> with the subesquent rows from the database. How do I create the recordset
> that will pull the info from the relevant subsequent rows for my columns?
>
> The code for the first row and first column entry is:
>
> <?php echo $row_RsSingStanDailybb['DailyBB']; ?>
>
> but in the row below in the html table I want to refer to the second row
DB
> entry for DailyBB but I cant see how to go about this:( The Repeat server
> behaviour in DW Mx simply puts all the values in one html cell which is
not
> what I wish to achieve. Basically I want the html table to match the
> database but have only succeeded in getting the first row to display so
> far:(
>
> I'm sure this is simple but its my first time at all this and any help
would
> be appreciated:)
>
> TIA
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php