Hi All,

I've been messing around with a classifieds script and I had a question about something. If the user is not logged in, then a message is displayed at the top of the page that reads "Please register or log in." My goal was to turn the words "register" & "log in" into links to another page. I found the following code:

$lll["regorlog"]="Please register or log in.";

All my attempts have failed to turn the words into links.
Help Please.

Thanks

    $lll["regorlog"]='Please <a href="LINKHERE">register</a> or <a href="LINKHERE">log in</a>.';

      YES!!! Thank you!!

      What If I wanted to change the font and size of the hyperlink produce? What then?

        I would highly reccomend that you familiarize yourself with Cascading Style Sheets (CSS). They are a remarkably useful tool when it comes to formatting data and elements within a page. There are several pages that will allow you to familiarize yourself with stylesheets. One that I personally prefer is the Microsoft HTML/DHTML reference pages which contain a full workup of most, if not all of the available CSS / DHTML classes. http://msdn.microsoft.com/workshop/author/dhtml/reference/dhtml_reference_entry.asp

        I learned through experimenting. It's fun to try new things out, so give it a try as it might solve some of your future questions before you know it.

        Josh

          Woops I posted in the wrong thread just now

            Write a Reply...