Jump to content

how to update a $value


bbunlock

Recommended Posts

I know this is simple but for the life of me I cannot remember how it is done and cant find it anywhere, ive even gone throught loads of my scripts to see an example but cant find it

 

ok I want to update a $value to include more info, for exxample

 

$value = "value1"

 

then alter in the code I want to be able to add to this like so

 

$value = $value + " - value2"

 

$value = $value + " - value3"

 

and when I do an "echo $value" it would show

 

value1 - value2 - value3 etc

 

can anyone tell me how this is done, I have seen it done before but cannot for the life of me find it and I have no idea what I would even search for

 

any help is much appriciated

 

regards

 

wayne

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.