Results 1 to 4 of 4

Thread: [RESOLVED] DUN understand these CODES!!!URGENT HELP!

  1. #1

    Thread Starter
    Member
    Join Date
    Jul 2006
    Posts
    58

    Resolved [RESOLVED] DUN understand these CODES!!!URGENT HELP!

    I was wondering why doesnt the codes <?php echo 'my name is lyna-licious!!!'; ?> does not appear in the browser.

    what does this code: <?php echo 'my name is lyna-licious!!!'; ?> actually means????

    These are the overall codes.
    <p>This is going to be ignored.</p>
    <?php echo 'my name is lyna-licious!!!'; ?>
    <p>This will also be ignored.</p>
    Last edited by penagate; Mar 24th, 2007 at 12:10 PM. Reason: mark as resolved.

  2. #2
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: DUN understand these CODES!!!URGENT HELP!

    well... the <?php tells the server that what follows is PHP code....
    Echo is a PHP command to send output to the client browser....
    and ?> tells the server it's the end of the PHP code....

    Why doesn't it show? Beats me... depends on what's around it... is the html commented out? is it in the headers? Try View Source and see if it's in there somewhere.

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  3. #3
    Frenzied Member I_Love_My_Vans's Avatar
    Join Date
    Jan 2005
    Location
    In the PHP compiler
    Posts
    1,275

    Re: DUN understand these CODES!!!URGENT HELP!

    If i understand you correctly <?php echo __ ?> wont appear in the browser because that is the instruction to the server, therefore the end user would not need to see it. However the string being echoed, 'my name is lyna-licious!!!' would no doubt appear in your browser.

    ILMV

  4. #4

    Thread Starter
    Member
    Join Date
    Jul 2006
    Posts
    58

    Resolved Re: DUN understand these CODES!!!URGENT HELP!

    ohhhh...i get it now!!! thanks u so much. really appreciated it))

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width