01-24-2008, 10:21 PM
|
#7 (permalink)
|
|
The Addict
Join Date: Jan 2008
Location: los angeles
Posts: 309
Thanks: 44
|
Quote:
Originally Posted by Alan @ CIT
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
|
|
|
|