i'm reviewing tutorial david powers , i'm using cs6.
http://www.adobe.com/devnet/dreamweaver/articles/first_dynamic_site_pt2.html
everything went until tried add query string parameters links (edit , delete) on manage_posts.php page.
"you add query string end of link through parameters dialog box, , bind primary key recordset. although it's simple operation, many people tend wrong, follow next steps carefully."
i did. in fact did twice. both times dw inserted = sign in 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.
as tutorial instructions say, "in parameters dialog box, type post_id in name field."
you type name value manually. click lightning bolt icon value field add dynamic data. parameters dialog box should when have finished:
looking @ code has been generated dreamweaver, clicked lightning bolt in both fields, , ended this:
see difference?
More discussions in Develop server-side applications in Dreamweaver
adobe


Comments
Post a Comment