Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Double variable filenames 1

Status
Not open for further replies.

speedyrudolf

Programmer
Sep 2, 2009
27
RO
Hi. I was wondering: can files be named using 2 variables?
something like:
Code:
$a="not";
$b="_now";
touch("$a$b.txt");
If anyone knows how to do this, please tell me. Thank you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top