From a03a29d331a9a0e2200ed2b9ccd26c446dbfe070 Mon Sep 17 00:00:00 2001 From: emi <87698845+emikode@users.noreply.github.com> Date: Thu, 16 Feb 2023 11:08:58 +0100 Subject: [PATCH] Added ".php" source file. --- PHP_MySQLI_DropDown_Menu_ENUM.php | 38 +++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 PHP_MySQLI_DropDown_Menu_ENUM.php diff --git a/PHP_MySQLI_DropDown_Menu_ENUM.php b/PHP_MySQLI_DropDown_Menu_ENUM.php new file mode 100644 index 0000000..8e158cb --- /dev/null +++ b/PHP_MySQLI_DropDown_Menu_ENUM.php @@ -0,0 +1,38 @@ + + + + HTML; + + if($myDBObject = new mysqli("**SERVER_HOSTNAME**","**MySQL_USERNAME**","**MySQL_PASSWORD**")){ + + $myDBObject->select_db("DB_NAME"); + + if(!$queryResult = $myDBObject->query("SHOW COLUMNS FROM **tableName** WHERE Field=\"**columnName**\"")){ + echo "