- L Photos Whatsapp Image 2022 06 29 At 3 46 08 Pm Jpeg Type Here To Search O E Echo Smycale Add Displays 18 1 (188.21 KiB) Viewed 46 times
← L Photos - WhatsApp Image 2022-06-29 at 3.46.08 PM.jpeg Type here to search O E ▼ echo Smycale->add(); // Displays 18
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
← L Photos - WhatsApp Image 2022-06-29 at 3.46.08 PM.jpeg Type here to search O E ▼ echo Smycale->add(); // Displays 18
← L Photos - WhatsApp Image 2022-06-29 at 3.46.08 PM.jpeg Type here to search O E ▼ echo Smycale->add(); // Displays 18 echo Smycale-> multiply); // Displays 727 3. Given the following code: <?php> for (i=0;i<10; i++) { echo(i), a. b. C 4. 1 1> What is the output fore How would you modify the code so that it prints the numbers backwards? How would you modify the code so that it prints only the even numbers? How would you modify the code so that it sums all the values of i and prints the 4. Consider the following MySQL table CREATE TABLE president (last name VARCHAR(15) NOT NULL first name VARCHAR(15) NOT NULL suffix VARCHAR(5) NULL, city VARCHAR(20) NOT NULL state CHAR(2) NOT NULL birth DATE NOT NULL death DATE NULL Ⓒ for (4=1,2--)S P de ) (a) Write an SQL query that returns the fall sames of presidents who are still alive. SQL query that list the states i else echelin U prve been bom. List them in descending order. (c) Write an SQL query that finds all presidents whose last names start with W (d) What is the purpose of a MySQL index? 5. Describe the various ways we can secure our codes from SQL attacks and secure our database as discussed in class (Mention at least 3). Ö thucphfi 1J C 32°C 3:52 PM 6/29/2022 15