| Index
» Projekty
» phpMyEdit
» Fórum
» url |
 |
unik77
Založený: 05.12.2008
Príspevky: 1
Zaslal: 2008-12-23 15:46
Návrat hore
Odpovedať s citátom
|
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>";
}
|
|
Odoslať novú tému
Odpovedať na tému
|
|
|
|