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? 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 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. ++ 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
Archived
This topic is now archived and is closed to further replies.