exam questions

Exam 1z0-882 All Questions

View all questions & answers for the 1z0-882 exam

Exam 1z0-882 topic 1 question 9 discussion

Actual exam question from Oracle's 1z0-882
Question #: 9
Topic #: 1
[All 1z0-882 Questions]

Identity two ways to configure a PHP application to use the UTF8 character set.

  • A. mysqli: :query (‘’SET NAMES utfs’’);
  • B. mysqli : :set_charset (‘utf8’)
  • C. spdo = new PDO (‘’mysql:host=localhost;dbname=test;charset=utfs’’, user’’, ‘’pass’’);
  • D. PDO: :set_charset(‘’utf8’’)
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️
Reference:
http://stackoverflow.com/questions/5842980/a-permanent-way-of-doing-mysqli-set-charset

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
chehin
3 years, 1 month ago
I looking fron B and C
upvoted 1 times
...
mschnittker
4 years, 8 months ago
Is it B and C ?
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...