GET in a word - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: General (https://forum.codeigniter.com/forumdisplay.php?fid=1) +--- Forum: Regional User Groups (https://forum.codeigniter.com/forumdisplay.php?fid=25) +--- Thread: GET in a word (/showthread.php?tid=68951) |
GET in a word - Germanikus - 09-17-2017 Hello, how do I get a get in with a word? For example, I would not call this with an ID, but with BISH. How does this have to look in the code, if the table Edition and the column carries name. RE: GET in a word - PaulD - 09-18-2017 What on earth is BISH? This question feels like it would be more at home on https://codegolf.stackexchange.com/ If you explain it a bit more I am intrigued to find out what you are actually asking... Paul PS Do you mean something like: PHP Code: $row = $this->db->where('edition_name', $BISH)->limit(1)->get('edition')->row_array(); |