alexishonaker6295 alexishonaker6295
  • 24-12-2019
  • Computers and Technology
contestada

Which of the following instructions will write the contents of the variable $name to the file referenced by $someFile?

fgets($someFile, $name);

list($someFile, $name);

fopen($someFile, $name);

fputs($someFile, $name);

Respuesta :

andonimtz96
andonimtz96 andonimtz96
  • 25-12-2019

Answer:

D. fputs($someFile, $name);

Explanation:

The instruction is not right as it is in the answer, because the content inside $name will be placed into the file referenced by $someFile. The correct structure is like this:

fputs($name, $someFile);

where:

  • $name is the variable with the content to be inserted.
  • $someFile is the file where the information is going to be saved.

Answer Link

Otras preguntas

Find the standard form of the equation of the circle with the given characteristics. Center at origin; radius: 4√2
Analyze the graph, please help me
in the picture, the organelle depicted is .. a) chloroplast b) leucoplast c) mitochondrion d) stroma
PLEASE HELP WILL GIVE BRAINLIEST!!!
Jamal does not produce enough insulin to regulate his blood sugar. What part of the endocrine system is most likely being affected?
Which statement accurately describes The Hagia sophia
Help me on this please
A rectangular prism had a volume of 252 cubic centimeters. The length of the prism is 14 centimeters and the width of the prism is 6 centimeters. The height of
Consider the function graphed below. Which function does the growth represent? A. f(x)={x^2,x<1 {3x-2,x>1 B. f(x)={x^2,x<1 {1
A chemical company mixes pure water with their premium antifreeze solution to create an inexpensive antifreeze mixture. The premium antifreeze solution contains