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

Compare user input to flat file data
Help...Am a complete newbie to programming so my code is prolly quite long. Am trying to verify a us

PHP Cannot redeclare class
I have 6 files, and two of them do not seem to want to play well. I keep getting a "Cannot rede

problem with array - multilingual page
this is my test page :
Code: <?php
if(isset($_GET['lang'])) {
if($_GET['la

help need on ob_start()
Hi

I am a newbie in php, I have a code
Line number On/Off | Expand/Contract <?phpo

Restricted access to sub-folder in iis6 doesn't work?
Basically I'm trying to add restriction to sub-folder (which contains pdf) in web.config for iis6 as

pointer 102 question
I read a book
1
2
3
4
5
6
7
8
9
10
11
12
int main() {

Data type mismatch
Hi,
I am migrating data from algol to c.I mapped real datatype in algol to double datatype in

Losing 'page' data
I have this code that allows me to update my database. But after updating, I lose the $_GET['page']

Creating a function
Basically i wanna put all this code in a seperate file

Code: <?php

Using system() and bringing back the results
I am aware that you can use system() within PHP to execute system commands, but I was wondering if t

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