echo ! question
I'm trying to achieve the output where the remote ip is 126.96.36.199(for example):
I've tried just about everything...here is one variation:
No matter what I try the ! screws it up.
If I do:
It seems to work, but as soon as I try
Nothing displays...any help is appreciated.
<!-- [stuff] -->
This is the syntax for an HTML comment. Perhaps you simply need to right click on the page and select View Source to see the comment.
Sadly, nobody codes for anyone on this forum. People taste your dishes and tell you what is missing, but they don't cook for you. ~anoopmail
I'd rather be a comma, then a full stop.
User Authentication in PHP with MySQLi
- Don't forget to mark threads resolved - MySQL(i) warning
Also note there's no need to use separate echo statements...
echo "<!--IPADDR=" . $_SERVER['REMOTE_ADDR'] . "-->";
printf( "<!--IPADDR=%s-->", $_SERVER['REMOTE_ADDR'] );
Un Re Member
may not be the problem everywhere but this one has an extra single quote:
Originally Posted by Michael297
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)