Jason,

If I understand your question, you want to display the contents of a 
variable to screen? Try this:

> <html>
> <head>
> <title></title>
> </head>
> <body>
> <?    
>       $test_variable = "this is a test";
>       echo "Here is what it says: $test_variable";    
> ?>
> </body>
> </html>

Also note that you do not need to use the PHP tags twice:
        echo "<?witakr home?>   //incorrect
        echo "wtakr home";              //correct

Steven J. Walker
Walker Effects
www.walkereffects.com
[EMAIL PROTECTED]

On Monday, February 11, 2002, at 09:34  PM, Jason Whitaker wrote:

> I just saw something with my code there.. i have my <link tag inside the
> title tag.. i will have to fix that :)
>
> --
>
> Jason Whitaker
>
>
> "Jason Whitaker" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> : Is there a way to set a variable or is there a function that takes the
> : information between the title tags and prints to the screen where you
> : command?
> :
> : ei:
> :
> : //<head>
> : //<title>
> : // <?php
> : // echo "<?witakr home?>
> : // ?>
> : //
> : //<LINK REL=stylesheet HREF="css/sCSS.css" TYPE="text/css">
> : //</title>
> : //</head>
> :
> : where as i would want the word "home" from the echo "<?witakr home?>" 
> (or
> : what ever word that may be in place of the word home) to print to 
> say.. a
> : certain place in the body of the page?
> :
> :
> : Jason Whitaker
> :
> :
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

Reply via email to