3 ms·
connect_to_db(); in PHP. it knows if im in a development or production environment, knows the proper username and password, and connects. Very basic i know, an
by dholowiski 15y ago
connect_to_db();
in PHP. it knows if im in a development or production environment, knows the proper username and password, and connects.
Very basic i know, and im sure everyone has written a similar function, but super useful.