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

Different actions for different parts of a string
<?php
function dosomething($string, $else = '') {
if (empty($else))
$string

php libs/ browsercap.in
ok i have a host that refuses to stay current. they control my php settings and libs. is there a way

dynamic table with forms
I have a table that is populated with mysql data and in teh first column there is a raido button tha

I need desperate help with this php code integrated with flash please
Can someone please help me with this php code which I have been stuck on for weeks . I am trying to

Create PHP table grid help, please
I have a MySQL database setup, now it's time for the table (gridview) design in php. Here's the prob

Using CSS to format MySQL query
Hi,

If i want to have a news page on my site, which displays all records of a table in descen

Linkage between two scripts
Okay say I have this for a link in a script:

Code: <li><a href="#&q

pass form variables straight to email, no database required?
hello all,

im working on this form...

http://www.adobedayevents.com/project_request/pr

Struct/union and scope problem!
HI all , I have
Code: in header.h typedef struct Node Link; /* ---------

Why does first ever HttpSendRequest take longer?
I promise this isn't as simple as it sounds. I'm wondering why the the first ever call to HttpSendRe

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