coder9 Posted July 19, 2008 Share Posted July 19, 2008 ok let say i have a string and a integer value of a variable that needs to be concantenation each other. let say i have, 'box' //string name. and $tmp_value = 8 //variable with value 8 now i want to concantenation these two. is this correct? $tmp_= "box ' . $tmp_value . '"; any advice please. Link to comment https://forums.phpfreaks.com/topic/115568-how-do-you-concantenation-this-string/ Share on other sites More sharing options...
wildteen88 Posted July 19, 2008 Share Posted July 19, 2008 No, its: $tmp_ = 'box' . $temp_value; Link to comment https://forums.phpfreaks.com/topic/115568-how-do-you-concantenation-this-string/#findComment-594123 Share on other sites More sharing options...
coder9 Posted July 19, 2008 Author Share Posted July 19, 2008 No, its: $tmp_ = 'box' . $temp_value; thank you wildteen88 Link to comment https://forums.phpfreaks.com/topic/115568-how-do-you-concantenation-this-string/#findComment-594137 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.