| Index
» Projects
» phpMyEdit
» Forum
» url |
 |
unik77
Joined: 05 Dec 2008
Posts: 1
Posted: 2008-12-23 15:46
Back to top
Reply with quote
|
when i click on one of the id link, can i capture that id value and set it as a variable so i can use it for a query?
my link: $opts['fdd']['id']['url']= 'member.php:$value';
example below is not working.
*********************************************
$query = ("SELECT * FROM members
WHERE member_id = '" . $value . "'");
$result = mysql_query($query);
while($row = mysql_fetch_array($result, MYSQL_ASSOC))
{
echo "Your memberID is : {$row['name']} |" .
"Your phone number is : {$row['phone']} <br>";
}
|
|
Post new topic
Reply to topic
|
|
|
|