How to concat a strings?
subj.
|
Re: How to concat a strings?
You can use Format or Formatex .. Latter 1 is faster.. Search the forum .. You will find infinite usage tuts..
|
Re: How to concat a strings?
@devilicioux, is that so heavy? Why I can't use just
PHP Code:
|
Re: How to concat a strings?
Because strings are Arrays, not single cells.
|
Re: How to concat a strings?
May be you can try Strcat() as well .. Not sure..
But Formatex() is the best option available. Here you have the example and explanation .. Quote:
|
Re: How to concat a strings?
I need to do it in a cycle, thats why I need a concat, instead of formating two strings.
when the socket_change, than I need to put each time string into a html variable: PHP Code:
|
Re: How to concat a strings?
Try using add or format. Make sure that the length of the variable is large enough to contain both strings though
|
Re: How to concat a strings?
@YamiKaitou it's the add function, and I have error, such as you can see after code line
PHP Code:
Error: Argument type mismatch (argument 1) on line 85 |
Re: How to concat a strings?
Looks like your html variable is not an array.
Code:
|
Re: How to concat a strings?
html MUST be an array. All Strings are Arrays with a fixed length, you cannot have a dynamic length for a string.
|
All times are GMT -4. The time now is 15:42. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.