PHP Programming Series 01Create a simple HTML form and accept the user name and display the name through PHP echo statement.Write a Program to check and print whether a given number is even or odd.Write a PHP script to findlargest among three numbers.Write a Menu-Driven program to implement a calculator which performs only addition, subtraction, multiplication and division. The operation should happen based on the user choice. $COLOR = ARRAY [4 => 'WHITE', 6 => 'GREEN', 11.=> 'RED]; Write the PHP script to get the first element of the above array. Create an associative array using the countries as keys, the cities as values and transform it into 2-dimensional array and display the data as a table.Create a login form with two text fields called "login" and "password". When user enters "uucse" as a user name and "university" as a password. It should be redirected to a welcome.html page or to sorry.html in case of wrong username/password.
No comments:
Post a Comment