[PHP] Re: Storing and then printing ANSI escape sequences in (and then from)variables

2009-01-07 Thread Fred Briand
Luke Slater a écrit : Hi, I'm storing ANSI escape sequences in an array, stored like this: $connections[$channel][2] = $info['colour']; $info['$colour'] would contain something like \033[33m Now, my problem is when I try and print it: $pstring = $connections[$channel][2] .

Re: [PHP] Storing and then printing ANSI escape sequences in (andthen from) variables

2009-01-07 Thread Fred Briand
Paul M Foster a écrit : On Wed, Jan 07, 2009 at 11:11:53PM +, Luke Slater wrote: Hi, I'm storing ANSI escape sequences in an array, stored like this: $connections[$channel][2] = $info['colour']; $info['$colour'] would contain something like \033[33m Now, my problem is when I try