View Full Version : Automating a task in Dreamweaver CS6 using snippets with variables, or script?

09-23-2012, 08:25 AM
Dear all,

On a page of my website i have to insert several tables each day, and then I put different text in each of them. Among that text, each table shows to visitors a unique number that i have to advance manually by one for each new table, and there is also a current date in each table.

As I would like to make this task easier, I do use a snippet that inserts a table with appropriate layout. But after that I still have to manually advance number in the table by one, and I have to edit snippet every day - to put in the current date.

Is there a way to put variables (number and date) in snippet? Or is there maybe an completely different approach to such an automation in Dreamweaver, that I could use to resolve this task?


09-24-2012, 09:36 AM
You'd probably be better off doing something server-side that takes no involvement from you whatsoever. Try looking at using a PHP script that does it for you.