Question

Anyone know the correct answer for this one?

Incorrect Question 2 0/1 pts In PHP, to concatenate something means None of these To join multiple variables together with an

0 0
Add a comment Improve this question Transcribed image text
Answer #1

The answer was 4rth one.

To join multiple character strings together.

Because concatenation means adding one string to another string in details adding means appending one string to an another. In PHP we use .(dot) and .=(dot equalto) for concatenation of strings(two or more).

the .(dot) will simply append two strings together. the .=(dot equalto) will append the new string to an existing string.

Example:

$string1="Hello ";

$string2="World!";

$string 3="Nice";

using .(dot):

$new_str=$string1.$string2;

which outputs "Hello World!" without quotes

using .=(dot equal to):

$new_str="";//declaring new string

$new_str.=$string1;//return Hello

$new_str.=$string2;//return Hello World!

$new_str.=$string3;//return Hello World!Nice

If you have any doubts please comment on this answer.

Thank you!!!

Add a comment
Know the answer?
Add Answer to:
Anyone know the correct answer for this one? Incorrect Question 2 0/1 pts In PHP, to...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • what is the correct answer for this? Incorrect Question 2 0/1 pts Which of the following...

    what is the correct answer for this? Incorrect Question 2 0/1 pts Which of the following correctly demonstrates the use of an array initializer list? Choose all that apply. int[] my_array = {1, 2, 3, 4, 5); int[] my_array = [1, 2, 3, 4, 5]; int my_array = (1,2,3,4,5); int my_array = new {1, 2, 3, 4, 5); none of these

  • help I dont know which of these two is correct Incorrect Question 7 0/0.5 pts (Multiple...

    help I dont know which of these two is correct Incorrect Question 7 0/0.5 pts (Multiple Choice) There are many similarities and differences between prokaryotic and eukaryotic DNA. This changes the way in which genes of interest are obtained and used for recombinant DNA/transformation experiments. Choose the correct statement below. No answer text provided No answer test provided For prokaryotes, the pene of interest can be cut directly out of the penome and inserted into the bland For prokaryotes scientists...

  • I want to know the answer of these question and why this is not correct. Incorrect...

    I want to know the answer of these question and why this is not correct. Incorrect Question 9 0/0.5 pts Market equilibrium occurs when: the market clears. there is no incentive for prices to change in the market, quantity demanded equals quantity supplied, and the market clears. there is no incentive for prices to change in the market. O quantity demanded equals quantity supplied. Incorrect Question 36 0/0.5 pts Which factor will NOT cause an increase in demand for good...

  • what is the correct answer for this? Incorrect Question 8 0 / 1 pts Which of...

    what is the correct answer for this? Incorrect Question 8 0 / 1 pts Which of the following loops would cause an ArrayIndexOutOfBoundsException? Choose all that apply for (int j = 1; j < values. length - 1; j++) values[5]++; for (int j = values.length; j > 0; i--) values[]++; for (int j = values.length - 1; j > 0; j--) values[j]++; for (int j = values.length - 1; j >= ; j--) values[j]++; for (int j = values.length; i...

  • Incorrect Question 12 0/1 pts Small quantities of ATP are made from-_in__ Answer 1: Answer 2:...

    Incorrect Question 12 0/1 pts Small quantities of ATP are made from-_in__ Answer 1: Answer 2: Incorrect o Question 13 rtion 13 0/1 pts Which event takes place during oxidative phosphorylation? - Protons are pumped into the intermembrane space • NAD+ and FAD are reduced Water is consumed to drive the roatlans MacBook Air

  • Which of the following functionality can NOT be developed using JavaScript only? Question 1 options: A...

    Which of the following functionality can NOT be developed using JavaScript only? Question 1 options: A monthly calendar Adding some numbers A live clock showing date and time A synchronous chat room with multiple people from different places Showing different text based on time of the day. Question 2 (0.5 points) Saved In the following JavaScript statement, what is the value of course[3]? var course = new Array(4203, 89, 95, 77, 5443); Question 2 options: 4203 77 95 null 5443...

  • Please explain the correct answer for both questions. Thank you! Incorrect Question 7 0/1 pts The...

    Please explain the correct answer for both questions. Thank you! Incorrect Question 7 0/1 pts The concentration of iodide ions in a saturated solution of lead (11) iodide is_ The solubility product constant of Pblz is 1.4x10-8. 3.5x10-9 3.0x10-3 1.5x103 1.4x10-8 3.8x10-4 Incorrect Question 9 0/1 pts The molar solubility of lead () chloride (PbCl2) is 1.6x102 M. What is the Ksp of PbCl2? 4.1x10-6 5.0x10-4 1.6x10-2 3.1x107 1.6x10-5

  • please choose the correct answer and explain! Question 1 0/1 pts Given three charge measurements from...

    please choose the correct answer and explain! Question 1 0/1 pts Given three charge measurements from an experiment as follows: Q1:4.8 x 10-19 C ; Q2-4.8 x 10-16 C ; Q3-4.8 x 10-23 C, which one cannot be correct? Q1 Q2 Q3 all could be correct Not quite. Determine the integral multiple of the charge quantum for each charge. all are incorrect

  • Please explain the correct answer for both questions. Thank you! Incorrect Question 5 0/1 pts A...

    Please explain the correct answer for both questions. Thank you! Incorrect Question 5 0/1 pts A 25.0 mL sample of 0.723 M HCIO4 is titrated with 0.27 M KOH solution. The H30* concentration after the addition of 80.0 mL of KOH is M. (Cl is chlorine, not carbon and iodine) 0.4 3x10-13 1x107 0.7 4x10-2 Incorrect Question 6 0/1 pts What could be the pKof this weak acid according to the titration curve below? Weak Acid Titration Curve PH 10...

  • anyone know the answer to these?! 2. Draw a Lewis dot symbol for kr. (1.5 pts)...

    anyone know the answer to these?! 2. Draw a Lewis dot symbol for kr. (1.5 pts) 3. What is the most correct relationship (like a trend) between bond length, bond energy, and bond order (for example between two carbon atoms) (Choose only one) (1.5 pts): a. Bond order increases then bond length increases then bond energy increases b. Bond order increases then bond length decreases then bond energy increases c. Bond order decreases then bond length increases then bond energy...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT