View Single Post
Old 12-09-2012, 06:47 PM   PM User | #3
COcode
New to the CF scene

 
Join Date: Dec 2012
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
COcode is an unknown quantity at this point
Basically, I have first/last name printing for the rows. The user will see first/last name but when they select first and last name I need it to open URL with username instead of first/last name.

Example:
PHP Code:
echo "<li><a href='members.php?view=$row[user]'>$row[firstlastname]</a>"
firstname lastname when selected opens URL by username.

The HREF is where I am stuck because I need it to call username. but when row prints it must be first/last name...

Last edited by COcode; 12-09-2012 at 06:50 PM..
COcode is offline   Reply With Quote