Hi, I must be tired because I can't figure this out... I am sure it is something obvious. I need to pass a hex value to a method, but I can't figure out how to convert a hex string to a hex value. For exmaple: $base = '96989b' my_method('0x' . $base) The above does not work with my_method(). my_method(0x96989b) The above works without any problems. Any tips? Many thanks in advance! Micky -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php