geudrik Posted August 26, 2009 Share Posted August 26, 2009 Alright, terrible title but I have no idea how to compress this into title form In my database, there are multiple rows, similar to: Schoorasana VI - Moon 1 - CBD Corporation Storage Now, all I have is a variable $systemname How do I look into my table and pull every row that has a solarsystem name of $solarsystem In the first code block, Schoorasana is the solar system name, and every row with an SS is formatted in that way. Anyone? Quote Link to comment https://forums.phpfreaks.com/topic/171975-solved-referencing-multiple-rows-non-unique-data/ Share on other sites More sharing options...
ignace Posted August 26, 2009 Share Posted August 26, 2009 name LIKE '%$systemname%' will match any row that has $systemname in it's name Quote Link to comment https://forums.phpfreaks.com/topic/171975-solved-referencing-multiple-rows-non-unique-data/#findComment-906804 Share on other sites More sharing options...
geudrik Posted August 26, 2009 Author Share Posted August 26, 2009 Awesome, thanks Ignace By the way, I love your signature. ++ Quote Link to comment https://forums.phpfreaks.com/topic/171975-solved-referencing-multiple-rows-non-unique-data/#findComment-906876 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.