Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

amming(1st semester 2020-2021)) The following php code read from a table named info in the database named information all the records that have id =4567

image text in transcribed

amming(1st semester 2020-2021)) The following php code read from a table named info in the database named information all the records that have id ="4567" and print the result on the screen. The SQL query is saved in the variable $query. $query = ") while ( $row = mysql_fetch_row( $result)) { print("" ); foreach ( $row as $value) print(" $value"); print(""); mysql_close( $database ); ?>* (2 Points) o Squery = "INSERT * FROM info where std_id='Sselect": o Squery = "SELECT * FROM info where std_id="4567"; Squery = "SELECT id FROM information where std_id='Sselect": O Squery = "SELECT information FROM info where information.std_id='Sselect": O Squery = "SELECT information FROM info where std_id='$select": Squery = "insert* FROM info where std_id='4567""; a hp

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

MySQL/PHP Database Applications

Authors: Jay Greenspan, Brad Bulger

1st Edition

978-0764535376

More Books

Students also viewed these Databases questions

Question

How would you describe your typical day at work?

Answered: 1 week ago