David B
2004-05-08 03:51:03 UTC
I learned how to connect Dreamweaver to a MySQL database, and now I'm
trying to figure out how to insert the database on a web page and
manipulate it. A tutorial at http://www.ucl.ac.uk/is/mysql/dreamweaver/
says the easiest way is click Insert > Dynamic Table. But I don't see
"Dynamic Table" listed anywhere. I checked Dreamweaver's Help function,
but it doesn't have much to say about dynamic tables.
Also, all the functions you do by clicking Insert, +, etc. are just
short-hand for coding, right? In other words, if I get stuck, can I just
go into code view and do it by hand?
I drug a database table and a recordset onto my page, but nothing
happened. Then I went into bindings and drug a specific field onto the
page, and the data showed up - but just one row.
I made a very simple table, with the name, abbreviation and a few other
items pertaining to just two states and two Canadian provinces. I made a
table and copied the code into two cells. So when I preview my page, I
see "Alberta" and "Edmonton."
But I can't see the next row - British Columbia. Can I simply copy the
code below and modify it to make it display the second row?
<table cellspacing="0">
<tr>
<td><?php echo $row_Recordset1['Name']; ?></td>
<td><?php echo $row_Recordset1['Capital']; ?></td>
</tr>
</table>
trying to figure out how to insert the database on a web page and
manipulate it. A tutorial at http://www.ucl.ac.uk/is/mysql/dreamweaver/
says the easiest way is click Insert > Dynamic Table. But I don't see
"Dynamic Table" listed anywhere. I checked Dreamweaver's Help function,
but it doesn't have much to say about dynamic tables.
Also, all the functions you do by clicking Insert, +, etc. are just
short-hand for coding, right? In other words, if I get stuck, can I just
go into code view and do it by hand?
I drug a database table and a recordset onto my page, but nothing
happened. Then I went into bindings and drug a specific field onto the
page, and the data showed up - but just one row.
I made a very simple table, with the name, abbreviation and a few other
items pertaining to just two states and two Canadian provinces. I made a
table and copied the code into two cells. So when I preview my page, I
see "Alberta" and "Edmonton."
But I can't see the next row - British Columbia. Can I simply copy the
code below and modify it to make it display the second row?
<table cellspacing="0">
<tr>
<td><?php echo $row_Recordset1['Name']; ?></td>
<td><?php echo $row_Recordset1['Capital']; ?></td>
</tr>
</table>