0% found this document useful (0 votes)
23 views8 pages

002 Flutter With PHP and MySql - Build Online Quiz With Admin Panel

Uploaded by

sherlockplus650b
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views8 pages

002 Flutter With PHP and MySql - Build Online Quiz With Admin Panel

Uploaded by

sherlockplus650b
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 8

Flutter with PHP and

MySql
- Build Online Quiz
with Admin Panel
What we
learn?
 Prepare Software Xampp, Sublime Text
and Android Studio

 Setup Database

 PHP (Create CMS and API)

 Flutter (Create Online Quiz)

 Generate Release App

12/16/2024Annual Review 2
1. Download
Software
1. Download XAMPP (apachefriends.org)
2. Sublime Text - Text Editing, Done Right
3. Download Android Studio and SDK tools | Andro
id Developers

12/16/2024Annual Review 3
How to success in this Course?
Key Key Key
Key 3 4
1 2
Jul Sep Oct Nov Dec Jan Feb Mar Apr May Jun

Watching Follow Practice Repeat

Watching this course Follow what I do on Spent your time 1 Just repeat from key 1
until finish this course hours everyday to to key 3.
practice

12/16/2024Annual Review 4
Any
Question?
I would like to thank you for
taking this course, feel free to
contact me when you facing
problem.

12/16/2024Annual Review 5
12/16/2024Annual Review 6
• mysqli connect function is used to connect to a MySQL database server
• mysqli_query function is used to execute SQL queries
• mysqli_num_rows function is used to get the number of rows returned from a select
query
• mysqli_fetch_array function is used fetch row arrays from a query result set
• array_push() function inserts one or more elements to the end of an array.
• mysqli_fetch_assoc() function fetches a result row as an associative array
• header() function sends a raw HTTP header to a client
• json_decode() function is used to decode or convert a JSON object to a PHP object
• json_encode() function is used to encode a value to JSON format.
• JSON_PRETTY_PRINT to make the display of the encoded JSON data neat and
easier to read
• JSON_UNESCAPED_UNICODE Encode multibyte Unicode characters literally
(default is to escape as \uXXXX)
• JSON_NUMERIC_CHECK (int) Encodes numeric strings as numbers.

12/16/2024Annual Review 7
Formula to count Score in this lecture:

Variable = currentScore(correct score) / total of question * 100


currentScore(correct score) increment by 1 if correct answer

For example:
currentScore is = 20
Total of question is = 10

All correct answer from 10 question = 10 / 10 * 100 = 1 * 100 = 100


Just correct answer 5 from question 10 = 5 / 10 * 100 = 0,5 * 100 = 50 and so on.

12/16/2024Annual Review 8

You might also like