Jump to content

selecting one row


almightyegg

Recommended Posts

i am trying to select a members group, but the name of it isnt stored in member database, the group id is.
so i wanted to try selecting the name from the group database, using the member group id...i hope that made sense :P
[code=php:0]
$society = mysql_query("SELECT * FROM cluth WHERE id LIKE '%$mem[clutch]%'");
$soc2 = mysql_fetch_array($soc2);
?>
Clutch: <? echo "$soc2[name] $mem[clutch]"; ?><br>
[/code]

anyideas???
Link to comment
https://forums.phpfreaks.com/topic/24911-selecting-one-row/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.