Переключатель дизайна
Bordur2-Bogatyr

Language: English (en)
 Russian Russian   English English 

String Concatenation

:: English Support Forums :: PHP-Fusion Coding Coding Style :: String Concatenation
Admin  Print Post

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in F:\OpenServer\domains\php-fusion.vveb.ws\includes\bbcodes\mail_bbcode_include.php on line 20

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in F:\OpenServer\domains\php-fusion.vveb.ws\includes\bbcodes\mail_bbcode_include.php on line 21

Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in F:\OpenServer\domains\php-fusion.vveb.ws\includes\bbcodes\search_bbcode_include.php on line 39

String Concatenation
PHP-Fusion Coding Style PHP-Fusion version 7.02.00



Strings must be concatenated using the "." operator. A space must never be added before or amer
the ".":
Download source  PHP
  1. <?php
  2.  $company = "PHP- Fusion"."Solutions";
  3. ?>

It is not necessary concatenaEng strings with the "." operator when breaking a the statement into
mulEple line. In these cases, each successive line should be padded with white space such that the
start of the new line is aligned under or passed the "=" operator:
Download source  PHP
  1. <?php
  2.  $sql = "SELECT user_id, user_name FROM ".DB_USERS."
  3.   WHERE user_level = '103'
  4.   ORDER BY user_name ASC";
  5. ?>

  Posted on 04.06.2013 21:04:47 
 Jump to Forum:   
HTML-code and BB-code for blogs and forums

<a href="https://php-fusion.vveb.ws/forum/viewthread.php?lang=en&thread_id=156">String Concatenation : String Concatenation</a>


[url=https://php-fusion.vveb.ws/forum/viewthread.php?lang=en&thread_id=156]String Concatenation : String Concatenation[/url]

Голосования
Чем больше нравится наполнять сайт в админке PHP-Fusion?
Статьями
Статьями
0% = [0 Votes]
Новостями
Новостями
0% = [0 Votes]
Темами форума
Темами форума
0% = [0 Votes]
FAQ
FAQ
0% = [0 Votes]
Фотками в Фотогалерее
Фотками в Фотогалерее
0% = [0 Votes]
Фалами для скачивания
Фалами для скачивания
0% = [0 Votes]
Ссылками
Ссылками
0% = [0 Votes]
Объявлениями в плагине "Доска объявлений"
Объявлениями в плагине "Доска объявлений"
0% = [0 Votes]
Текстами в плагине "Каталог"
Текстами в плагине "Каталог"
0% = [0 Votes]
Страницами
Страницами
0% = [0 Votes]
Всего голосов : 0
Перейти в ветку