Computing.Net > Forums > Web Development > PHP hyperlink in an echo!

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

PHP hyperlink in an echo!

Reply to Message Icon

Name: Andrew Coles (by andrewcoles44)
Date: March 23, 2007 at 07:59:05 Pacific
OS: XP
CPU/Ram: 3000
Comment:

<?

session_start();

if (!$_SESSION["valid_user"]) {
echo "You must Log in or Register to view this page";
}

else {
echo "These are the Bands we are currently profiling";
}
?>

in the code above is it possible, to create a hyperlink with in the echo to go to the login/register page when you click on the text within the echo when its displayed in my browser?

Thanks

Andy.C



Sponsored Link
Ads by Google

Response Number 1
Name: Laler
Date: March 23, 2007 at 12:43:01 Pacific
Reply:

echo 'You must ---
Fubar


0

Response Number 2
Name: Laler
Date: March 23, 2007 at 12:44:19 Pacific
Reply:

echo 'You must <a href="#">Log in or Register</a> to view this page';

---
Fubar


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Web Development Forum Home


Sponsored links

Ads by Google


Results for: PHP hyperlink in an echo!

php counter in htm www.computing.net/answers/webdevel/php-counter-in-htm/1928.html

How to decrease the dpi in an image www.computing.net/answers/webdevel/how-to-decrease-the-dpi-in-an-image/798.html

Checking values in an array www.computing.net/answers/webdevel/checking-values-in-an-array/3231.html