Adding query string parameter to link
I'm reviewing this tutorial by David Powers and I'm using CS6.
http://www.adobe.com/devnet/dreamweaver/articles/first_dynamic_site_pt2.html
Everything went well until I tried to add query string parameters to links (EDIT and DELETE) on the manage_posts.php page.
"You add a query string to the end of a link through the Parameters dialog box, and bind the primary key from the recordset. Although it's a simple operation, many people tend to get it wrong, so follow the next steps carefully."
I did. In fact I did it twice. Both times DW inserted = sign in the wrong place.
DWCS6 code:
<td><a href="update_post.php?<?php echo $row_getPosts['post_id']; ?>=<?php echo $row_getPosts['post_id']; ?>">EDIT</a></td>
Corrected Code:
<td><a href="update_post.php?post_id=<?php echo $row_getPosts['post_id']; ?>">EDIT</a></td>
Anyone else experiencing this?
Nancy O.

