Custom variables

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
rob.selway
Forum Newbie
Posts: 1
Joined: Tue May 17, 2005 3:37 am

Custom variables

Post by rob.selway »

I need a way that users of my website can specify their own variables by typing. I need it so text on the web page can be changed.

Many thanks

Rob
User avatar
harrisonad
Forum Contributor
Posts: 288
Joined: Fri Oct 15, 2004 4:58 am
Location: Philippines
Contact:

Re: Custom variables

Post by harrisonad »

rob.selway wrote:I need a way that users of my website can specify their own variables by typing. I need it so text on the web page can be changed.
Please be specific.

- What kind of user input?
- What part of web page content to change?
User avatar
Skittlewidth
Forum Contributor
Posts: 389
Joined: Wed Nov 06, 2002 9:18 am
Location: Kent, UK

Post by Skittlewidth »

Code: Select all

$$variablename
The extra dollar sign means this will take the contents of $variablename to be the actual variable name. Would that help?
Post Reply