View Single Post
Old 01-24-2008, 10:21 PM   #7 (permalink)
sarmenhb
The Addict
 
sarmenhb's Avatar
 
Join Date: Jan 2008
Location: los angeles
Posts: 309
Thanks: 44
sarmenhb is on a distinguished road
Default

Quote:
Originally Posted by Alan @ CIT View Post
Good attempt sarmenhb but there isn't a variable named 999 which contains the string 'Hello' - you have a variable called $test containing an array of 'Hello' parts

Good thinking though!

Alan

BINGO!!!

BINGO!!!!

<?php

$test = array('9','9','9');

$test[0] = "he";
$test[1] = "ll";
$test[2] = "o";
$output = "$test[0]$test[1]$test[2]";



echo $output;

?>
__________________
no signature set
sarmenhb is offline  
Reply With Quote