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??? Quote Link to comment 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? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.