almightyegg Posted October 24, 2006 Share Posted October 24, 2006 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 More sharing options...
fenway Posted October 24, 2006 Share Posted October 24, 2006 I'm not sure I understand... first, you're getting back multiple rows, assuming your query executes correctly. What's the problem? Link to comment https://forums.phpfreaks.com/topic/24911-selecting-one-row/#findComment-113680 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.