|
fletcher posted:All my classes refer to $this->database to interact with the database. Is there any way to avoid having to pass it in as a parameter to a static function of a different class that needs the db? You could use the singleton design pattern.
|
# ¿ Apr 3, 2008 09:43 |
|
|
# ¿ May 8, 2024 20:57 |
|
What's the difference between MYSQLI_USE_RESULT and MYSQLI_STORE_RESULT? The documentation for mysqli_query doesn't explain the difference between them (and when/why one should be used over another), and most places seem to just copy from there.
|
# ¿ Dec 3, 2009 11:18 |
|
edit: repeatedly beaten with my slow connection
Small White Dragon fucked around with this message at 23:34 on Mar 14, 2010 |
# ¿ Mar 14, 2010 23:22 |
|
FeloniousDrunk posted:
FeloniousDrunk posted:
|
# ¿ Mar 25, 2010 08:51 |