Author Topic: Droplet Help  (Read 1467 times)

Offline webkitchen

  • Posts: 8
Droplet Help
« on: May 28, 2010, 09:39:44 PM »
I am loving WB, but am not that good with PHP. There probably is a very easy way to do this:

I want to store some values in a hidden code section of a page and then retreive them as variables in a droplet.
So for example.
Code section of page contains

I want to run a droplet that uses these variables at the start of the droplet.

I know how to get the contents of the code section from the database but I want to do the equivalent of php 'include' but from the database contents.
Maybe someone can point me in the right direction.
Will I have to use serialize to retrieve and store the data and if so, can anyone give me a simple example.

Many thanks
« Last Edit: May 29, 2010, 06:21:57 AM by webkitchen »