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
Write a little man program that accepts three values as input and produces the largest of the three as output.
ki77a [65]
Required: program to return the largest of three numbers.

pseudocode

input parameters, int A,B,C;
int T; // temporary storage
if (A>B) T=A;
else T=B;
if (T>C) print(T);
else print(C);


5 0
3 years ago
Write two separate formulas using different commands that concatenate " john and "smith" together to form " John Smith"
VladimirAG [237]

Answer:

1. =CONCATENATE(" John"," ","Smith")

2. =(" John"&" "&"Smith")

Explanation:

Given

Two separate strings; "John" and "Smith"

Required

2 separate formulas to concatenate both strings to form " John Smith"

There are several ways to concatenate strings in Microsoft Office Excel; one of the methods is using the concatenate function while the another method is using the traditional & operator.

Using the concatenate function, the formula is as follows

=CONCATENATE(" John"," ","Smith")

This function will combine the " John", " " and "Smith" to give a new string " John Smith" (without the quotes).

Using the traditional & operator may be a little bit difficult (and not frequently used) but the formula is as follows;

=(" John"&" "&"Smith")

The result will be the same as (1) above

5 0
3 years ago
Read the following Selection Sort function and determine the correct answer for blank #2.
lakkis [162]

Answer:

Option(a) is the correct answer to the given fill in the blank of #2

Explanation:

The values[indexOfMin] returns the minimum element in the particular array As in the given question we have to implement the selection sorting .In the selection sorting we have choose the element and compare them others minimum index that's why we have choose the values[indexOfMin] function.

  • The index of min is not the correct function So we have not used in the given fill in the blanks that's why option(b) is incorrect .
  • The  values[startIndex] represent the starting index only that is not suitable for the given question that's why it is incorrect option.

4 0
4 years ago
How do you add a simple header that will appear in a single column on the left of a document
malfutka [58]

When adding a header, you need to double tap the top of the document.

4 0
3 years ago
Read 2 more answers
How do power strips work?
lapo4ka [179]
What are power strips please
3 0
3 years ago
Other questions:
  • Points!!!!!!!! pls help
    13·2 answers
  • Which group on the sparkline tools design tab would you choose if you wanted to change the data source of the sparkline? (1 poin
    10·1 answer
  • Tablets combine the features of which two types of devices?
    12·1 answer
  • Jeff is a financial assistant. He needs to create a document for his client that tracks her stocks and calculates the loss or ga
    10·2 answers
  • • What advantage does a circuit-switched network have over a packet-switched network? What advantages does TDM have over FDM in
    12·1 answer
  • Pls help is very urgent and I will mark u as brainliest plsssss​
    11·2 answers
  • A network that is located in a small area, such as a single building is called a
    6·1 answer
  • What makes a source credible?
    9·2 answers
  • Use the ________ tag to configure a generic area on a web page that is embedded within a paragraph or other block display elemen
    12·1 answer
  • How to connect two routers wirelessly to extend range.
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!