Web link in PHP

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
sliver
Forum Newbie
Posts: 3
Joined: Wed Jul 02, 2008 12:04 pm

Web link in PHP

Post by sliver »

Hi all,

I have this source code, but i instead of the echo's command , I want to put a link to web page.
How can I do that?

SOURCE:

<?php
session_start();
if ($_POST[vercode] != $_SESSION[vercode] OR $_SESSION[vercode]=="") {
echo "<strong>Incorrect verification code.</strong><br>";
} else {
echo "<strong>correct verification code.</strong><br>";
};
?>


Thanks!
User avatar
Frozenlight777
Forum Commoner
Posts: 75
Joined: Wed May 28, 2008 12:59 pm

Re: Web link in PHP

Post by Frozenlight777 »

Easier than you would think... check out the header function

http://us2.php.net/header
sliver
Forum Newbie
Posts: 3
Joined: Wed Jul 02, 2008 12:04 pm

Re: Web link in PHP

Post by sliver »

Frozenlight777 wrote:Easier than you would think... check out the header function

http://us2.php.net/header

Pretty easy... ehehe

Thanks!
Post Reply