Jump to content

[SOLVED] merge words?


phorcon3

Recommended Posts

can you do that in php? i cant find any good functions.

 

like, for example, i have:

 

<?php

$first='ha';
$second='ha';

?>

 

and what i wanna do is, merge em with an underscore, so it would output

 

ha_ha

 

i know you can easily do it this way:

 

echo $first.'_'.$second;

 

but i just thought maybe theres a nicer way to do this..?

Link to comment
https://forums.phpfreaks.com/topic/108217-solved-merge-words/
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.