1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
eduard
4 years ago
9

It is a function that ends the connection to the database.

Computers and Technology
2 answers:
Mkey [24]4 years ago
4 0

Answer:

mysql_close/ mysqli_close.

Explanation:

mysql_close / mysqli_close  functions are used to close the connection to the database.mysql_close is removed from the php version 7.0.0 and mysqli_close is used .

If the link in the mysql_close is not specified it so the last link opened by mysql_connect() is assumed.

It returns the value True or False.True on success false on failure.

yanalaym [24]4 years ago
4 0

Answer:

a. mysql_close / mysqli_close

Explanation:

mysql_close/mysqli_close closes existing MySql connection.

Example usage:

<?php

$link = mysql_connect('localhost', 'userid', 'password');

// Close the connection reference $link

mysql_close($link);

?>

Mysqli represents an improved version of mysql driver.

<?php

$link = mysqli_connect('localhost', 'userid', 'password');

if ($link) {

   // Close the connection reference $link

   mysqli_close($link);

}

?>

You might be interested in
What is the best response to cyberbullying?
astra-53 [7]
Answer is C





Braine list please:)
5 0
3 years ago
Read 2 more answers
You have imported a library with the birthMonth() function. Based on the API, how many strings are inputed to calculate the birt
Kruka [31]

Answer: Only 1 string is entered

str(dayWeek) is the only string entered into the function.

str(return) is outputted, not inputted.

Numbers are not strings.

// calculate birth month based on the day of the month, day of the week, and the birth year

// dayMonth {number} - a day of a month from 1 to 31

// dayWeek {string} - the name of the day of the week

// year {number} - the birth year

// return {string} - the month you were born

BirthdayLibrary.birthMonth(dayMonth, dayWeek, year);

8 0
3 years ago
&gt;&gt;&gt; import math &gt;&gt;&gt; print(math.Pi) 3.141592653589793 &gt;&gt;&gt; def print_volume(): print ("What is the radi
kvasek [131]
I have no clue what this is asking...
8 0
3 years ago
https://.Mia is taught to go to sleep when the light is turned off. However, for many months Mia no longer falls asleep when the
kotykmax [81]

Answer:

Spontaneous recovery is the correct answer.

Explanation:

7 0
4 years ago
I need help. What is 10^-2
Ilya [14]

Answer: 0.01

Explanation:

5 0
2 years ago
Other questions:
  • The first step in creating photographs with good backgrounds is which of the following? Learning to see the background before ta
    11·2 answers
  • How many bones are in a human body
    7·2 answers
  • Your environment includes many users who print documents often. A single print device isn't sufficient. You need a "printer pool
    7·1 answer
  • Write a program that calculates the balance of a savings account at the end of a period of time. It should ask the user for the
    14·1 answer
  • you crossed two heterozygous red flowers (dominant color), what are your chances to have a white flower
    11·1 answer
  • Consider the following code segment, where num is an integer variable.
    6·1 answer
  • How can i get games on my chromebook after my school has blocked almost everything... even zoom!
    14·1 answer
  • Complete the program below named CountVowels so that it reads in a string, counts all the vowels in that string, and prints out
    13·1 answer
  • What is a decryption key?​
    8·1 answer
  • Why do we use if statements?
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!