Changeset 4781 for trunk/include/dblayer/functions_mysql.inc.php
- Timestamp:
- Jan 28, 2010, 12:30:36 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/dblayer/functions_mysql.inc.php
r4387 r4781 459 459 } 460 460 461 function pwg_db_concat_ws($string, $separaor) 462 { 463 return 'CONCAT_WS(\''.$separaor.'\','. $string.')'; 461 function pwg_db_concat_ws($array, $separator) 462 { 463 $string = implode($array, ','); 464 return 'CONCAT_WS(\''.$separator.'\','. $string.')'; 464 465 } 465 466
Note: See TracChangeset
for help on using the changeset viewer.