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
https://forums.phpfreaks.com/topic/209605-how-to-update-a-value/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.