!*~Odjn's Dimension~*!

Let fate decides........

Wednesday, May 9, 2007

PHP using dreamweaver and answer to "I love php programming" posting !!!

Lol its wednesday again and today i got to dreamweaver to do php coding......alright.....hahhaha a combination of the html forms by the click of the mouse with some php codings makes dynamic webpage even easier to code....... and more fun to code it.....hahhaha.......once again i want to say...... i love php hahahhaha........and the answer to last week posting titled "I love php programming" is Bat ..... Wanna know y? Cos in php programming whenever u declare a variables u need to put a $ sign in front of it so for easy explaination i shall put the questions here again

$Bat = "Cat";
$Rat = "Bat";
$Cat = "Rat";

echo $$$Bat;


As you can see echo is used to print the value on the webpage and as stated at the code it will print $$$Bat. $Bat is equal to Cat so if we sub it in it will print $$Cat. $Cat is equal to Rat and if we sub it in it will print $Rat. In the end $Rat is equal to Bat so thats y the answer is Bat.... Got it?..... hahahhaha

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home

         Messenger