I'm just now learning some php.
I'm getting some basic ideas of how it works and its going well...but I just cannot figure out why echo-ing php in html doesn't work....
If I have a php file with this contents:
echo "test echo";
$blah="display blah";
echo $blah;
and I run the file, it works great.
However, if I put in the same code inline with html code by:
<?php
echo "test echo";
$blah="display blah";
echo $blah;
?>
....nothing. Empty. Nothing gets displayed.
Why is this? Also, because of this I cannot figure out how to use variables from php in html...same issue I believe.
- TestMy.net Forum
- → Viewing Profile: Topics: disturbed
disturbed
Member Since 04 Apr 2004Offline Last Active Nov 13 2010 07:13 AM




Community Stats
- Group News Anchor
- Active Posts 2,099 ( per day)
- Profile Views 4,504
- Member Title TMN Veteran
- Age 28 years old
- Birthday February 16, 1984
-
Gender
Not Telling
-
Location
Phoenix, AZ
-
Interests
I am and always will be disturbed.
Topics I've Started
help...php in html
04 April 2008 - 03:30 PM
testmy.net what font ?
03 February 2008 - 01:54 PM
does anyone know what font was used for the testmy logo lettering ?
Zeitgeist Movie...Interesting movie - educate ourselves ?
09 January 2008 - 06:33 PM
http://zeitgeistmovie.com/
...It's about 2 hours long - starts off kind of slow but the documentary is dead on about lots of facts - especially religion...I personally enjoyed watching it and finding some things out that I did not know
edit...added the name of the movie to the title...
...It's about 2 hours long - starts off kind of slow but the documentary is dead on about lots of facts - especially religion...I personally enjoyed watching it and finding some things out that I did not know
edit...added the name of the movie to the title...
Im back
18 August 2007 - 09:41 PM
........I've been gone for about 2 weeks, in a way - I thought it would be very valuable that I announce my return heheh lol - went to key west for my vacation - one word: awesome !
Suggestion for tmn
25 July 2007 - 09:39 PM
...What I notice is that a lot of topics that people post end up in the off-topic discussion - now, this creates a lot of work for mod's and admins - they have to move topics quite often because simply everyone likes posting in the general section....
my question is: what is the general section for ? what is the off topic section for ? ....to me those two are very close, so everything I want to share I often post in general, and it often gets moved to off topic
Also, the suggestion: Make off-topic discussions appear on the front page of testmynet. I think that the reason why not a lot of people post in off-topic is because they know it wont really reach a lot of people. I for one do that. I know when I come on TMN I have never a single time went into the actual forum categories, never, since I joined. I just check the front page and 'a ha' this is new, I'm gonna reply to this....
So, I think it would be useful to make off-topic discussion appear on the first page, or maybe make hte list on the first page a bit larger.....because I am not quite sure how many people do the same thing I do...well, lets make a poll about this
my question is: what is the general section for ? what is the off topic section for ? ....to me those two are very close, so everything I want to share I often post in general, and it often gets moved to off topic
Also, the suggestion: Make off-topic discussions appear on the front page of testmynet. I think that the reason why not a lot of people post in off-topic is because they know it wont really reach a lot of people. I for one do that. I know when I come on TMN I have never a single time went into the actual forum categories, never, since I joined. I just check the front page and 'a ha' this is new, I'm gonna reply to this....
So, I think it would be useful to make off-topic discussion appear on the first page, or maybe make hte list on the first page a bit larger.....because I am not quite sure how many people do the same thing I do...well, lets make a poll about this
- TestMy.net Forum
- → Viewing Profile: Topics: disturbed




Find content
Display name history
