Skip to main content
Participant
October 8, 2010
Question

http://www.co-author.net/devnet/dreamweaver/articles/first_dynamic_site_pt3.html

  • October 8, 2010
  • 1 reply
  • 303 views

http://www.co-author.net/devnet/dreamweaver/articles/first_dynamic_site_pt3.html.

Working with this tutorial and closely following the outline I get:

a MYSQL Error#: 1054

Unknown column 'news.update' in 'field list'

I downloaded the attach files and place them in my folder, removing my originals, and still get this error.

http://www.co-author.net/devnet/dreamweaver/articles/first_dynamic_site_pt3.html

SELECT DISTINCT DATE_FORMAT(news.updated, '%M %Y') AS archive

DATE_FORMAT(news.updated, '%Y-%m') AS link

FROM news

ORDER BY news.updated DESC

4. Create the Archives links

  1. With news.php the active document, click the plus button at the top left of the Server Behaviors panel, and select Recordset.
  2. When the Recordset dialog box opens, click the Advanced button on the right to enter Advanced mode (see Figure 9).
  3. Enter getArchives in the Name text box.
  4. Expand the Tables tree menu in the "Database items" area at the bottom of the dialog box, and then expand news. This displays the names of the columns in the news table.

    Select updated, and click the SELECT button twice.

    With updated still selected, click the ORDER BY button.

    After 3 hours, I still don't have a clue. Can someone help me?

This topic has been closed for replies.

1 reply

Participating Frequently
October 8, 2010

Is the name of the column in your news table 'update' or 'updated' ? Check your SQL code for a typo.