Hi,
What I am trying to do may be simple, I just can't get it to work. Ok...
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.
db entry based on primary key
My "topics" table contains 10 entires*--------------*topicid topic------*--------------* 01 Bye 02 Hi 03 Hello..... 10 Morning*--------------*<?php
convert static html data into dynamic
hi alli need to convert a website which has static above 2000 articles into dynamic and add that data into database. one solution i know is copy and paste it manually.is there any other formula or
Customizing message/behavior
Hi,I'm using the ASP.NET membership/authorization controls in my application. Some parts of my application are reserved for users who are in certain roles i.e. editor, writer, etc. I control this with
subtract 1 from value entered in text field
HiHow do I subtract 1 from the vaue entered into a text field?Thanks
include function being weird?
I have a very simple system to grab an IP outputted by a PHP file.. (for a project I have) but it outputs a 1 at the end!!<form method="post" action="<?php echo
Transferring session variables into MySQL
I am trying to transfer $_SESSION variables into MySQL. However there is an error in my MySQL statements.This is the error that I receive:Unable to execute the query.Error code 1136: Column count
cookie problem
I hv a website url In this site main menu functionality based on cookie when user click on particular menu the visited menu change its color and cookie is created for that menu and when user click on
Small problem with image resize script
Hi!I am a little bit new to php and I have an issue installing an image resize script I downloaded (http://shiftingpixel.com/2008/03/03/smart-image-resizer/) and can't seem to get it working.Here's a
Warning: session_start() headers already sent error - Driving me Nuts!
I am trying my sister in laws site and I keep getting an error with my coding. I am more of a designer than coder and I can't figure this out. It is on the following
Inter Company -- Resources Related Billing (Services Industry)
Hello,