PDA

View Full Version : Help with basic string/variable stuff.



benslayton
01-15-2007, 12:45 AM
I have this code here:


<?php
$Do_Not_Want= "Do Not Show This.";
$I_Want = "Show This.";

//Code goes here to make $Do_Not_Want appear as $I_Want. So another words,
//when i put echo "$Do_Not_Want"; , the $I_Want varible actually shows in the browser saying "Show This.".

echo "$Do_Not_Want";
?>

The question is in the code. i will paste it below also:

Code goes here to make $Do_Not_Want appear as $I_Want. So another words,
when i put echo "$Do_Not_Want"; , the $I_Want varible actually shows in the browser saying "Show This.".

tech_support
01-15-2007, 01:15 AM
$Do_Not_Want = $I_want; ?

benslayton
01-15-2007, 02:07 AM
dang i feel stupid.
thanks man i'll try that out.