es in 1- Write the command (in PHP) to connect to a database named myDB that res
ID: 3874330 • Letter: E
Question
es in 1- Write the command (in PHP) to connect to a database named myDB that resid root and the password dbserv. Check whether the 172.16.12.3, using the username connection is successrul teblelnfo Home Field Type frsiName varchar20) lastName varchar(20) dbInfo gender r emailvarchar 30) Question 2 &3 are based on the figure above 2- Write the SQL command to fetch records with fields involved are only firstname, gen and email, where the gender only "Male" 3- Write the PHP script to display all the records resulted from the SQL query in previo question.Explanation / Answer
2)
SELECT firstname,gender,email from tableinfo where gender="Male";
3)
<?php
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.