Help with Hyperlink


Posted on 16th Feb 2014 07:03 pm by admin

Hi,

What I am trying to do may be simple, I just can't get it to work. Ok...

Did you know?Explore Trending and Topic pages for more stories like this.
I am using Zend and so the database connect that I need for this is a simple call to it like Code: data->profile_name('username').
Ok, now to my question...I am trying to add a hyperlink to the login area of my website so that it will show the logged in user's personal profile page. Example:

www.randomsite.com/liarea/username

Where it says username I am trying add code there to show the username of the user that is logged in. I have tried lots of things and nothing works. Here is the latest thing I have tried:

Code: <a href='/liarea/<?php echo $dmp->profile_data('username'); ?>'>www.randomsite.com</a>
The randomsite is fictitious so sorry if it leads to something weird.
No comments posted yet

Your Answer:

Login to answer
58 Like 38 Dislike
Previous forums Next forums
Other forums

ereg_replace issue
hi there people

i have this code happening with regards to my wamp server. is this something

need good snippet manager
Hi. as i am coding and learning more, it is becoming difficult to manage code snippets. how you mana

cookie problem
I hv a website url
In this site main menu functionality based on cookie when user click on parti

Inserting a check in checkbox from array value
Hello all,
I have a bit of code that works for a select option box, but does not work for my chec

form problem
Hi all, I think this is going to be easy to resolve but for I have been looking at it to long and I

Google Map
I have done Google Map Integration for one my project. But for that we need the "latitude and l

Checking if variable is 0 as opposed to NULL/Empty...
I'm trying to write some code that will retrieve a user's access level from my database and if it do

Add_Months not Easy to Understand
Oracle is number 1, very fast and very easy. But....
OK, I think but have a problem, only 1 pro

Preg_match with an array
is there an away to use preg_match with an array?

i want to check a string with an array to s

Disable Scrollbar in TableControl
Hello everbody,

please can anybody help me - outherwise i'm going to become desperate :P<

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash