Gary Wright
9/28/2006 6:53:00 PM
On Sep 28, 2006, at 2:47 PM, Peter Bailey wrote:
> Hi,
> With a lot of help from Jamey, the KirbyBase inventor, I've managed to
> get a script that does what I want it to. I've proven that I can
> populate my database properly. But, so far, I've only been able to
> update my table if I put in literal values, like the value "39" below.
> But, in my real world, I need to put a variable in there. It's a
> variable derived prior to this in the program. It's named
> "$totalpages."
> If I put #{$totalpages} in place of the "39" below, I get a parsing
> error:
You don't want #{$totalpages} but simply $totalpages.
The #{...} notation is for use within a string such as:
"There are #{$totalpages} total pages"
Gary Wright