Results for Write a PHP script for the following

Assignment 2 : Control Structures and Loops

March 16, 2021

 

Assignment 2 : Control Structures and Loops

1. Write a PHP Script to display a maximum of two numbers.

Practice Programs: 

1. Write a PHP Script to display a maximum of two numbers. 

Answer : 

Assignment 2 : Control Structures and Loops Assignment 2 : Control Structures and Loops Reviewed by technical_saurabh on March 16, 2021 Rating: 5

Assignment 1: Basics in PHP

March 16, 2021

 

Assignment 1:Basics in PHP

Write a PHP script to perform arithmetic operations on two numbers (Addition, Subtraction, Multiplication Division ).


Practice Programs: 

1. Write a PHP script to perform arithmetic operations on two numbers (Addition, Subtraction, Multiplication Division ). 

Assignment 1: Basics in PHP Assignment 1: Basics in PHP Reviewed by technical_saurabh on March 16, 2021 Rating: 5

Assignment NO : 5 MySQL

December 24, 2020
Consider the following entities and their relationships Doctor (doc_no, doc_name, address, city, area) Hospital (hosp_no, hosp_name, hosp_city) Doctor and Hospital are related with many-many relationship. Create a RDB in 3 NF for the above and solve following Using above database, write a PHP script which accepts hospital name and print information about doctors visiting / working in that hospital in tabular format.

Program 1 : 

Consider the following entities and their relationships Doctor (doc_no, doc_name, address, city, area) Hospital (hosp_no, hosp_name, hosp_city) Doctor and Hospital are related with many-many relationship. Create a RDB in 3 NF for the above and solve following Using above database, write a PHP script which accepts hospital name and print information about doctors visiting / working in that hospital in tabular format.

Consider the following entities and their relationships Doctor (doc_no, doc_name, address, city, area) Hospital (hosp_no, hosp_name, hosp_city) Doctor and Hospital are related with many-many relationship. Create a RDB in 3 NF for the above and solve following Using above database, write a PHP script which accepts hospital name and print information about doctors visiting / working in that hospital in tabular format.

Answer : 

File : Index.php

Assignment NO : 5 MySQL Assignment NO : 5 MySQL Reviewed by technical_saurabh on December 24, 2020 Rating: 5

Assignment NO : 2 Function & Objects

December 24, 2020
Program 2 : Write class declarations and member function definitions for an employee(code, name, designation). Design derived classes as emp_account(account_no, joining_date) from employee and emp_sal(basic_pay, earnings, deduction) from emp_account. Write a menu driven PHP program.

Program 2 : Write class declarations and member function definitions for an employee(code, name, designation). Design derived classes as emp_account(account_no, joining_date) from employee and emp_sal(basic_pay, earnings, deduction) from emp_account. Write a menu driven PHP program.

a) to build a master table
b) to sort all entries
c) to search an entry
d) Display salary.


Answer : 

File : Index.php

Assignment NO : 2 Function & Objects Assignment NO : 2 Function & Objects Reviewed by technical_saurabh on December 24, 2020 Rating: 5

PHP Assignment No : 1 Array & String

December 24, 2020
PHP Asssignment

Program 1 : Write a PHP script for the following: Design a form to accept a string. Write a function to count the total number of vowels (a,e,i,o,u) from the string. Show the occurrences of each vowel from the string. Check whether the given string is a palindrome or not, without using built-in function. (Use radio buttons and the concept of function. Use ‘include’ construct or require stmt.)


Write a PHP script for the following: Design a form to accept a string. Write a function to count the total number of vowels (a,e,i,o,u) from the string. Show the occurrences of each vowel from the string. Check whether the given string is a palindrome or not, without using built-in function. (Use radio buttons and the concept of function. Use ‘include’ construct or require stmt.)

Answer : 

File : Index.php


File : new.php



File : new1.php

PHP Assignment No : 1 Array & String PHP Assignment No : 1  Array & String Reviewed by technical_saurabh on December 24, 2020 Rating: 5
Powered by Blogger.