Forums

PHP

This topic is locked

Dynamic link from record set result

Posted 20 Dec 2006 20:11:36
1
has voted
20 Dec 2006 20:11:36 S S posted:
Hi PHP fellow users,
Though I am starting to find my way arround php, I am hitting a major road block as I am getting in deeper waters.
I would greatly appreciate any input you guys might have.
I am doing a search in a php page, I sort out the results by username (username of the people I am searching for in my database). i can of course display the resluts with no problem in the result page. what I would like to do is to aslo get one more option displayed. I would like to have the option to rate the user (taking me to the rating page based on a variable which is the username of the person I clicked on)
Any suggestions?
thanks you so very much in advance
Sal

Replies

Replied 21 Dec 2006 00:14:02
21 Dec 2006 00:14:02 S S replied:
after alot of reaserch, i found out that this is the best solution....but for some reason I get an error in this line.

<td height="35" width="80" div align="link"> echo "<a href=\"$row_MenuSearch['Username']\">$row_MenuSearch['Username']"</a>; ?>

Reply to this topic