Thread: PhP Question
View Single Post
Old 02-17-2008, 04:29 AM  
rowan
Too lazy to set a custom title
 
Join Date: Mar 2002
Location: Australia
Posts: 17,393
If you want to make sure it's passed to sprintf as a string I think this should work:

$htmlfile=sprintf("./html/%s%s.html","$name","$num");
rowan is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote