![]() |
Row Count with Dynamic URLs
The code below use to reference username. I changed it to go by first/last name. Except the system goes by username when opening dynamic URLs. I have the rows printing out first and last name and when you select the name it needs to open website by "user".
The url name appears to have first and last name (this is what I want), but when you select name I want it to go by username. CODE: PHP Code:
I need the print rows of PHP Code:
Any help would be appreciated. |
I don't quite follow your description but..
PHP Code:
PHP Code:
PHP Code:
I may not have answered your precise requirement, but I'm sure the answer is in the above description :thumbsup: |
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:
The HREF is where I am stuck because I need it to call username. but when row prints it must be first/last name... |
Does $user contain the username?
PHP Code:
|
No it does not, I have to pull user form my SQL in $row[0] basically row[0] print all the rows. so far row[0] print first and last name. i need row[0] to also print user name
|
I fixed it!!! I just had to call $row[1] and it pulled user. $row[0] is my concat string with first and last name $row[1] is for user.
:) hehe i dont know how i misssed that one |
| All times are GMT +1. The time now is 08:41 PM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.