farse Posted June 23, 2011 Share Posted June 23, 2011 Is it possible to use a non-alphanumeric character as the $glue string in the implode() function?e.g., implode('\v',$array)I am trying to join strings in an array with a vertical tab using \v. It simply uses the v as the $glue string.I also tried \x0B and it used x0B.I went in circles in the PHP Manual and got mixed messages.?? Link to comment Share on other sites More sharing options...
justsomeguy Posted June 23, 2011 Share Posted June 23, 2011 Use double quotes instead of single quotes, single quotes use less escape sequences than double quotes do. Link to comment Share on other sites More sharing options...
farse Posted June 23, 2011 Author Share Posted June 23, 2011 Use double quotes instead of single quotes, single quotes use less escape sequences than double quotes do.You are wise beyond your years, Old Man from scene 24Thank you. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.