![]() |
table_exists fails to notice a created table using create_table - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: table_exists fails to notice a created table using create_table (/showthread.php?tid=11818) |
table_exists fails to notice a created table using create_table - El Forum - 09-24-2008 [eluser]dcunited08[/eluser] The code keeps a list of all tables: Code: $data_cache['table_names']; This is all well and good but it does not update or reset after calling create_table and the table is successfully created. So, the next time you call Code: table_exists('table1'); |