-Original Message-
From: Allen McCabe [mailto:allenmcc...@gmail.com]
Sent: 06 August 2009 20:20
[]
It was working wonderfully, until I wanted to display test of
$newComment
as a comment.
[code]
comment(test of $newComment);
[/code]
This rendered a comment that said
I was trying some new things with php today, and was commenting above each
little bit to better see what was working and/or displaying versus what was
not. My comment delineator consisted of the following:
[code]
echo 'brbrfont color=#bbi this is a comment displayed in html
/i/fontbrbr';
, 2009 3:20 PM
To: phpList
Cc: ollisso; Martin Scotta
Subject: [PHP] Trying to create a comment function
I was trying some new things with php today, and was commenting above each
little bit to better see what was working and/or displaying versus what was
not. My comment delineator consisted
[code]
comment(test of $newComment);
[/code]
This rendered a comment that said test of .
So I added a \ before the $ to make it display properly, but I was wondering
if there was a way that the function could work so that it will display
anything you type within the quotes in comment(
Asher and Jonathan,
Thank you for your input. Having single quotes around what I wanted to
comment worked to display a variable name.
And Asher, I am constantly scanning the php.net manual, and only after I
could not find what I was looking for did I resort to php-general list. I am
a novice at
5 matches
Mail list logo