How to keep the text variable after a function has finished

By default, text variables created within a function are discarded after the function has finished.

If you want to create a text variable within a function that persists after the function completes, then you need to explicitly set the variable scope to global. ᅠFor example:
[text scope=global]valueP0[/text]
Scott Anderson

DOWNLOAD WEBDNA NOW!

Top Articles:

Technical Change History

This Technical Change History provides a reverse chronological list of WebDNA changes...

WebDNA Modules

A list of the currently available modules...

AWS Raw WebDNA LAMP-Plus WebServer

Amazon Web Services (AWS) README for Machine Image ID...

Tips and Tricks

A list of user-submitted tips ...

WebDNA Libraries

A list of available libraries for WebDNA...

F.A.Q

A compilation of some user's questions...

Related Readings:

random password-generator code

Generate a random alpha-numeric string...

Removing whitespace

How can I remove all whitespace entered by a user from an input box (ie card number)...

Hideif on IP range

This will show or hide stuff according to the IP...

Formatting a long list in a table

How to show the result of a search as a table...

File upload example

...

Handling credit card numbers

Encrypting the credit card numbers does the job quite nicely...