MCQs > IT & Programming > LAMP > what will be the value of $num if mytable contains 12 records? $result=mysql_query('DELETE from mytable'); $num=mysql_affected_rows();

LAMP MCQs

Based on the code given below, what will be the value of $num if mytable contains 12 records?

$result=mysql_query("DELETE from mytable");
$num=mysql_affected_rows();

Answer

Correct Answer: 0

Explanation:

Note: This Question is unanswered, help us to find answer for this one

LAMP Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

LAMP Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it