\n"; $result = mysqli_query($link, $select) or die("
No such data, Please reload the page");#please don't use the back button.
Select the page from the drop down menu.
."); // Printing results in HTML return $result; } function delete ($link, $what, $values, $other) { $delete="delete from $what where $values $other"; # echo "Delete:" . $delete . "
\n"; $result = mysqli_query($link, $delete) or die("No such user in the table: $delete"); // Printing results in HTML return $result; } function insert ($link, $what, $values) { $insert="INSERT INTO $what VALUES $values"; # echo "Insert:" . $insert . "

\n"; $result = mysqli_query($link, $insert) or die("No such user in the table: $insert"); // Printing results in HTML return $result; } function update ($link, $table, $what, $values) { $insert="UPDATE $table SET $what WHERE $values"; # echo "UPDATE: " . $insert . "

\n"; $result = mysqli_query($link, $insert) or die("No such user in the table: $insert"); // Printing results in HTML return $result; } function create ($link, $string) { $creation = "CREATE TEMPORARY TABLE tmp $string"; # echo "creation: ". $creation . "
"; $result = mysqli_query($link, $creation) or die("No such user in the table: $creation"); // Printing results in HTML return $result; } function drop ($link ) { $drop = "DROP TABLE tmp"; # echo "drop: ". $drop . "
"; $result = mysqli_query($link, $drop) or die("No such user in the table: $drop"); // Printing results in HTML return $result; } function describe ($link, $table ) { $describe = "describe $table"; # echo "describe: ". $describe . "
"; $result = mysqli_query($link, $describe) or die("No such user in the table: $describe"); // Printing results in HTML return $result; } function select_inner_join ($link, $display, $table, $union, $ON, $other){ if (empty($other)){ $select="SELECT $display FROM $table INNER JOIN $union ON $ON"; }else{ $select="SELECT $display FROM $table INNER JOIN $union ON $ON $other"; } # echo "Select:" . $select . "
\n"; $result = mysqli_query($link, $select) or die("
No such data, Please refresh your browser");#please don't use the back button.
Select the page from the drop down menu.
."); // Printing results in HTML return $result; } function select_left_join ($link, $display, $table, $union, $ON, $other){ if (empty($other)){ $select="SELECT $display FROM $table LEFT JOIN $union ON $ON"; }else{ $select="SELECT $display FROM $table LEFT JOIN $union ON $ON $other"; } # echo "Select:" . $select . "
\n"; $result = mysqli_query($link, $select) or die("
No such data, Please refresh your browser");#please don't use the back button.
Select the page from the drop down menu.
."); // Printing results in HTML return $result; } ?> DND Data ">
Fatal error: Uncaught Error: Call to undefined function select() in /home/philippe/public_html/DND_Test/index.php:19 Stack trace: #0 {main} thrown in /home/philippe/public_html/DND_Test/index.php on line 19