Hows it going. Im brand spanking new to PHP and just lost my virginity to it today. The experience has been also similar, Awkward, and just going the wrong way about it, not to mention premature emotional ejacutlation after the installation and finding out that it wasnt satisfied with the work that I did, and refused to co-operate.
Anyway, long story short XAMMP saved the day. and I decided to test the PHP with a task from the dummies guide. Heres the sample code,
<p>This is an HTML line<p>
<?php echo “This is a PHP line”; phpinfo();?>
The highlited text contained a Parse error when I viewed it in firefox on my local host, so remembering that the word "this" is a function or something like that, I cut the word out and the page worked perfectly in firefox.
So my question is, how can you get php to read function texts as normal content text. Im sure its as simple as adding a character before the word and if so which one? and if not, how do you work around this?
Thanks in advance and sorry if the code isnt in exact format ie