I am learning PHP by myself and I wonder if you guys can help me to solve my problem. I want to concatenate 2 variables that are align right in the form of an hyperlink with a word. I can do that no problem, but the word is not getting aligned right as well. I have tried somethings, but it doesnt work. Please see my code:
<?php
$log = ( '<a style="float:right; "href="login.php">login </a>' ) ;
$reg = ( '<a style="float:right; "href="login.php">register </a>' );
echo $log ." or " . $reg;
?>
I need login or register to be displayed on the top right of the page, but I dont want to hyperlink the word "or". Also, if you guys have any links for good tutorials on PHP or tutorials on how to create a good website design, maybe templates, please paste here. I am starting with websites now and I am learning by myself. Any help is appreciatted. :-)