PHP – Function References ”; Previous Next PHP is very rich in terms of Built-in functions. Here is the list of various important function categories. There are various other function categories which are not covered here. Select a category to see a list of all the functions related to that category. PHP Array Functions PHP bzip2 Functions PHP Calender Functions PHP Class/Object Functions PHP Character Functions PHP Client URL Functions PHP Cond Functions PHP Collectable Functions PHP Collection Functions PHP Date & Time Functions PHP Deque Functions PHP Directory Functions PHP Direct I/O Functions PHP Error Handling Functions PHP FileInfo Functions PHP File System Functions PHP Forms Data Format Functions PHP Function Handling Functions PHP Geoip Functions PHP GMP Functions PHP Hash Functions PHP Hashble Functions PHP IMAP Functions PHP Inotify Functions PHP JavaScript Object Notation Functions PHP Judy Arrays Functions PHP LibXML Functions PHP Lua Functions PHP Map Functions PHP Memcache Functions PHP Mhash Functions PHP Mutex Functions PHP MySQL Functions PHP Network Functions PHP ODBC Functions PHP Password Functions PHP Pair Functions PHP Phdfs Functions PHP Pool Functions PHP PriorityQueue Functions PHP Proctitle Functions PHP Queue Functions PHP Sequence Functions PHP Session Functions PHP Set Functions PHP SimpleXML Functions PHP Statistics Module PHP Stack Functions PHP String Functions PHP Thread Functions PHP Threaded Functions PHP Tokenizer Functions PHP URL”s Functions PHP Vector Functions PHP Variable Handling Functions PHP Xattr Functions PHP Xdiff Functions PHP XML Functions PHP XML Parsing Functions PHP XML Reader Functions PHP XML Writer Functions PHP XSLT Processor Functions PHP OpenSSL Functions PHP Worker Functions PHP YAML Data Serialization Functions Link to other Categories of PHP Functions PHP Functions Manual Print Page Previous Next Advertisements ”;
Category: php
PHP – Questions & Answers
PHP Questions & Answers ”; Previous Next PHP Questions and Answers has been designed with a special intention of helping students and professionals preparing for various Certification Exams and Job Interviews. This section provides a useful collection of sample Interview Questions and Multiple Choice Questions (MCQs) and their answers with appropriate explanations. SN Question/Answers Type 1 PHP Interview Questions This section provides a huge collection of PHP Interview Questions with their answers hidden in a box to challenge you to have a go at them before discovering the correct answer. 2 PHP Online Quiz This section provides a great collection of PHP Multiple Choice Questions (MCQs) on a single page along with their correct answers and explanation. If you select the right option, it turns green; else red. 3 PHP Online Test If you are preparing to appear for a Java and PHP related certification exam, then this section is a must for you. This section simulates a real online test along with a given timer which challenges you to complete the test within a given time-frame. Finally you can check your overall test score and how you fared among millions of other candidates who attended this online test. 4 PHP Mock Test This section provides various mock tests that you can download at your local machine and solve offline. Every mock test is supplied with a mock test key to let you verify the final score and grade yourself. Print Page Previous Next Advertisements ”;
PHP – Facebook Login
PHP – Facebook Login ”; Previous Next Users can be asked to log into a web application with the help of Social media login, also called SSO. This way users need not create a new account. Instead, users can use their existing social media account information to log in. Some examples of social media login include: Google, Facebook, LinkedIn, Apple. In this chapter, we shall explain how to activate logging into a PHP application with Facebook credentials. The first step to add Facebook login feature is to create a Facebook app. Visit https://developers.facebook.com/apps/creation/ and sign in with your Facebook account. Next, enter the name of the Facebook app you want to create − Go in the App settings and obtain Application ID and secret code − Select platform as website − Next, you need to set Up Facebook SDK in PHP. Download the Facebook SDK for PHP from “https://packagist.org/packages/facebook/php-sdk” or use composer: composer require “facebook/graph-sdk-v5”. Extract the SDK files to a directory accessible by your PHP application. To configure Facebook SDK in PHP Code, include the Facebook SDK autoloader in your PHP file: require_once __DIR__ . ”/vendor/autoload.php”; Set up your app”s access token and app secret − $app_id = ”YOUR_APP_ID”; $app_secret = ”YOUR_APP_SECRET”; Next, create Facebook Login Button. Create an HTML button and add the Facebook login JavaScript SDK to trigger the login flow − <button id=”facebook-login-button”>Login with Facebook</button> Include the Facebook JavaScript SDK − <script src=”https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v13.0&appId=YOUR_APP_ID&autoLogApp=true” async defer></script> Create a PHP script to handle the Facebook login callback − <?php session_start(); $fb = new FacebookFacebook([ ”app_id” => $app_id, ”app_secret” => $app_secret, ”default_graph_version” => ”v13.0”, ]); $helper = $fb->getRedirectLoginHelper(); $accessToken = $helper->getAccessToken(); if ($accessToken) { // User is logged in, handle their data $user = $fb->get(”/me”, [”fields” => ”id,name,email”]); $_SESSION[”user_data”] = $user; header(”Location: profile.php”); } else { // User is not logged in, redirect to login page $loginUrl = $helper->getLoginUrl([”scope” => ”public_profile,email”]); header(”Location: ” . $loginUrl); } ?> After successful login, store user data in the session and redirect to a protected page. On protected pages, check the session for user data to verify access. Print Page Previous Next Advertisements ”;
PHP – Useful Resources
PHP – Useful Resources ”; Previous Next The following resources contain additional information on PHP. Please use them to get more in-depth knowledge on this topic. Useful Video Courses PHP Programming Online Training Most Popular 46 Lectures 9 hours Tutorialspoint More Detail PHP from Scratch Full Course 18 Lectures 1 hours Nivedita Jain More Detail Full Stack Web Development – HTML, CSS, JavaScript, PHP, ELIXIR 55 Lectures 6 hours Pranjal Srivastava, Harshit Srivastava More Detail Java, PHP and MySQL Course Bundle 53 Lectures 6 hours Harshit Srivastava More Detail Learn PHP – For Beginners 31 Lectures 1.5 hours YouAccel More Detail JavaScript, Bootstrap, and PHP – Training for Beginners 117 Lectures 5.5 hours YouAccel More Detail Print Page Previous Next Advertisements ”;
PHP – Form Handling
PHP – Form Handling ”; Previous Next HTML Forms play an important role in PHP web applications. Although a webpage composed purely with HTML is a static webpage, the HTML form component is an important feature that helps in bringing interactivity and rendering dynamic content. PHP’s form handling functionality can validate data collected from the user, before processing. An HTML Form is a collection various form controls such as text fields, checkboxes, radio buttons, etc., with which the user can interact, enter or choose certain data that may be either locally processed by JavaScript (client-side processing), or sent to a remote server for processing with the help of server-side programming scripts such as PHP. One or more form control elements are put inside <form> and </form> tags. The form element is characterized by different attributes such as name, action, and method. <form [attributes]> Form controls </form> Form Attributes Out of the many attributes of the HTML form element, the following attributes are often required and defined − Action Attribute a string representing the URL that processes the form submission. For example, http://example.com/test.php. To submit the for-data to the same PHP script in which the HTML form is defined, use the PHP_SELF server variable − <form action=”<?php echo $_SERVER[”PHP_SELF”];?>” method=”post”> Enctype Attribute specifies the method using which the form-data should be encoded before sending it to the server. Possible values are − application/x-www-form-urlencoded − The default value. multipart/form-data − Use this if the form contains <input> elements with type=file. text/plain − Useful for debugging purposes. Method Attribute a string representing the HTTP method to submit the form with. The following methods are the possible values of method attribute − post − The POST method; form data sent as the request body. get (default) − The GET; form data appended to the action URL with a “?” separator. Use this method when the form has no side effects. dialog − When the form is inside a <dialog>, closes the dialog and causes a submit event to be fired on submission, without submitting data or clearing the form. Name Attribute The name of the form. The value must not be the empty string, and must be unique if there are multiple forms in the same HTML document. Target Attribute a string that indicates where to display the response after submitting the form. Should be one of the following − _self (default) − Load into the same browsing context as the current one. _blank − Load into a new unnamed browsing context. _parent − Load into the parent browsing context of the current one. _top − Load into the top-level browsing context (an ancestor of the current one and has no parent). Hence, a typical HTML form, used in a PHP web application looks like − <form name=”form1″ action=”<?php echo $_SERVER[”PHP_SELF”];?>” action=”POST”> Form controls </form> Form Elements A HTML form is designed with different types of controls or elements. The user can interact with these controls to enter data or choose from the available options presented. Some of the elements are described below − Input Element The input element represents a data field, which enables the user to enter and/or edit the data. The type attribute of INPUT element controls the data. The INPUT element may be of the following types − Text A text field to enter a single line text. <input type=”text” name=”employee”> Password A single line text filed that masks the entered characters. <input type=”password” name=”pwd”><br> Checkbox A rectangular checkable box which is a set of zero or more values from a predefined list. <input type=”checkbox” id=”s1″ name=”sport1″ value=”Cricket”> <label for=”s1″>I like Cricket</label><br> <input type=”checkbox” id=”s2″ name=”sport2″ value=”Football”> <label for=”s2″>I like Football</label><br> <input type=”checkbox” id=”s3″ name=”sport3″ value=”Tennis”> <label for=”s3″>I like Tennis</label><br><br> Radio This type renders a round clickable button with two states (ON or OFF), usually a part of multiple buttons in a radio group. <input type=”radio” id=”g1″ name=”gender” value=”Male”> <label for=”g1″>Male</label><br> <input type=”radio” id=”g2″ name=”female” value=”Female”> <label for=”g2″>Female</label><br> File The input type renders a button captioned file and allows the user to select a file from the client filesystem, usually to be uploaded on the server. The form’s enctype attribute must be set to “multipart/form-data” <input type=”file” name=”file”> Email A single line text field, customized to accept a string conforming to valid email ID. URL A single line text filed customized to accept a string conforming to valid URL. Submit This input element renders a button, which when clicked, initiates the the submission of form data to the URL specified in the action attribute of the current form. <input type=”submit” name=”Submit”> Select Element The select element represents a control for selecting amongst a set of options. Each choice is defined with option attribute of Select Control. For example − <select name=”Subjects” id=”subject”> <option value=”Physics”>Physics</option> <option value=”Chemistry”>Chemistry</option> <option value=”Maths”>Maths</option> <option value=”English”>English</option> </select> Form Example Let us use these form elements to design a HTML form and send it to a PHP_SELF script <html> <body> <form method = “post” action = “<?php echo htmlspecialchars($_SERVER[“PHP_SELF”]);?>”> <table> <tr> <td>Name:</td> <td><input type = “text” name = “name”></td> </tr> <tr> <td>E-mail: </td> <td><input type = “email” name = “email”></td> </tr> <tr> <td>Website:</td> <td><input type = “url” name = “website”></td> </tr> <tr> <td>Classes:</td> <td><textarea name = “comment” rows = “5” cols = “40”></textarea></td> </tr> <tr> <td>Gender:</td> <td> <input type = “radio” name = “gender” value = “female”>Female <input type = “radio” name = “gender” value = “male”>Male </td> </tr> <td> <input type = “submit” name = “submit” value = “Submit”>
PHP – Integer Division
PHP â Integer Division ”; Previous Next PHP has introduced a new function intdiv(), which performs integer division of its operands and return the division as int. The intdiv() function returns integer quotient of two integer parameters. If “a/b” results in “c” as division and “r” as remainder such that − a=b*c+r In this case, intdiv(a,b) returns r − intdiv ( int $x , int $y ) : int The $x and $y are the numerator and denominator parts of the division expression. The intdiv() function returns an integer. The return value is positive if both parameters are positive or both parameters are negative. Example 1 If numerator is < denominator, the intdiv() function returns “0”, as shown below − <?php $x=10; $y=3; $r=intdiv($x, $y); echo “intdiv(” . $x . “,” . $y . “) = ” . $r . “n”; $r=intdiv($y, $x); echo “intdiv(” . $y . “,” . $x . “) = ” . $r; ?> It will produce the following output − intdiv(10,3) = 3 intdiv(3,10) = 0 Example 2 In the following example, the intdiv() function returns negative integer because either the numerator or denominator is negative. <?php $x=10; $y=-3; $r=intdiv($x, $y); echo “intdiv(” . $x . “,” . $y . “) = ” . $r . “n”; $x=-10; $y=3; $r=intdiv($x, $y); echo “intdiv(” . $x . “,” . $y . “) = ” . $r . “n”; ?> It will produce the following output − intdiv(10,-3) = -3 intdiv(-10,3) = -3 Example 3 The intdiv() function returns a positive integer in the case of numerator and denominator both being positive or both being negative. <?php $x=10; $y=3; $r=intdiv($x, $y); echo “intdiv(” . $x . “,” . $y . “) = ” . $r . “n”; $x=-10; $y=-3; $r=intdiv($x, $y); echo “intdiv(” . $x . “,” . $y . “) = ” . $r ; ?> It will produce the following output − intdiv(10,3) = 3 intdiv(-10,-3) = 3 Example 4 In the following example, the denominator is “0”. It results in DivisionByZeroError exception. <?php $x=10; $y=0; $r=intdiv($x, $y); echo “intdiv(” . $x . “,” . $y . “) = ” . $r . “n”; ?> It will produce the following output − PHP Fatal error: Uncaught DivisionByZeroError: Division by zero in hello.php:4 Print Page Previous Next Advertisements ”;
PHP – PDO Extension
PHP â PDO Extension ”; Previous Next PDO is an acronym for PHP Data Objects. PHP can interact with most of the relational as well as NOSQL databases. The default PHP installation comes with vendor-specific database extensions already installed and enabled. In addition to such database drivers specific to a certain type of database, such as the mysqli extension for MySQL, PHP also supports abstraction layers such as PDO and ODBC. The PDO extension defines a lightweight, consistent interface for accessing databases in PHP. The functionality of each vendor-specific extension varies from the other. As a result, if you intend to change the backend database of a certain PHP application, say from PostGreSql to MySQL, you need to make a lot of changes to the code. The PDO API on the other hand doesnât require any changes apart from specifying the URL and the credentials of the new database to be used. Your current PHP installation must have the corresponding PDO driver available to be able to work with. Currently the following databases are supported with the corresponding PDO interfaces − Driver Name Supported Databases PDO_CUBRID Cubrid PDO_DBLIB FreeTDS / Microsoft SQL Server / Sybase PDO_FIREBIRD Firebird PDO_IBM IBM DB2 PDO_INFORMIX IBM Informix Dynamic Server PDO_MYSQL MySQL 3.x/4.x/5.x/8.x PDO_OCI Oracle Call Interface PDO_ODBC ODBC v3 (IBM DB2, unixODBC and win32 ODBC) PDO_PGSQL PostgreSQL PDO_SQLITE SQLite 3 and SQLite 2 PDO_SQLSRV Microsoft SQL Server / SQL Azure By default, the PDO_SQLITE driver is enabled in the settings of php.ini, so if you wish to interact with a MySQL database with PDO, make sure that the following line is uncommented by removing the leading semicolon. extension=pdo_mysql You can obtain the list of currently available PDO drivers by calling PDO::getAvailableDrivers() static function in PDO class. PDO Connection An instance of PDO base class represents a database connection. The constructor accepts parameters for specifying the database source (known as the DSN) and optionally for the username and password (if any). The following snippet is a typical way of establishing connection with a MySQL database − <?php $dbh = new PDO(”mysql:host=localhost;dbname=test”, $user, $pass); ?> If there is any connection error, a PDOException object will be thrown. Example Take a look at the following example − <?php $dsn=”localhost”; $dbName=”myDB”; $username=”root”; $password=””; try{ $dbConn= new PDO(“mysql:host=$dsn;dbname=$dbName”,$username,$password); Echo “Successfully connected with $dbName database”; } catch(Exception $e){ echo “Connection failed” . $e->getMessage(); } ?> It will produce the following output − Successfully connected with myDB database In case of error − Connection failedSQLSTATE[HY000] [1049] Unknown database ”mydb” PDO Class Methods The PDO class defines the following static methods − PDO::beginTransaction After obtaining the connection object, you should call this method to that initiates a transaction. public PDO::beginTransaction(): bool This method turns off autocommit mode. Hence, you need to call commit() method to make persistent changes to the database Calling rollBack() will roll back all changes to the database and return the connection to autocommit mode.This method returns true on success or false on failure. PDO::commit The commit() method commits a transaction. public PDO::commit(): bool Since the BeginTransaction disables the autocommit mode, you should call this method after a transaction. It commits a transaction, returning the database connection to autocommit mode until the next call to PDO::beginTransaction() starts a new transaction. This method returns true on success or false on failure. PDO::exec The exec() method executes an SQL statement and return the number of affected rows public PDO::exec(string $statement): int|false The exec() method executes an SQL statement in a single function call, returning the number of rows affected by the statement. Note that it does not return results from a SELECT statement. If you have a SELECT statement that is to be executed only once during your program, consider issuing PDO::query(). On the other hand For a statement that you need to issue multiple times, prepare a PDOStatement object with PDO::prepare() and issue the statement with PDOStatement::execute(). The exec() method need a string parameter that represents a SQL statement to prepare and execute, and returns the number of rows that were modified or deleted by the SQL statement you issued. If no rows were affected, PDO::exec() returns 0. PDO::query The query() method prepares and executes an SQL statement without placeholders public PDO::query(string $query, ?int $fetchMode = null): PDOStatement|false This method prepares and executes an SQL statement in a single function call, returning the statement as a PDOStatement object. PDO::rollBack The rollback() method rolls back a transaction as initiated by PDO::beginTransaction(). public PDO::rollBack(): bool If the database was set to autocommit mode, this function will restore autocommit mode after it has rolled back the transaction. Note that some databases, including MySQL, automatically issue an implicit COMMIT when a DDL statement such as DROP TABLE or CREATE TABLE is issued within a transaction, and hence it will prevent you from rolling back any other changes within the transaction boundary. This method returns true on success or false on failure. Example The following code creates a student table in the myDB database on a MySQL server. <?php $dsn=”localhost”; $dbName=”myDB”; $username=”root”; $password=””; try{ $conn= new PDO(“mysql:host=$dsn;dbname=$dbName”,$username,$password); Echo “Successfully connected with $dbName database”; $qry = <<<STRING CREATE TABLE IF NOT EXISTS STUDENT ( student_id INT AUTO_INCREMENT, name VARCHAR(255) NOT NULL, marks
PHP – Filtered unserialize()
PHP â Filtered unserialize() ”; Previous Next In PHP, the built-in function unserialize() is available from PHP version 4 onwards. With PHP 7, a provision to pass a list of allowed classes has been added. This allows the untrusted source to be filtered out. The unserialze() function unserializes the data from only the trusted classes. In PHP, serialization means generation of a storable representation of a value. This is useful for storing or passing PHP values around without losing their type and structure. The built-in serialize() function is used for this purpose. serialize(mixed $value): string The unserialze() function gives a PHP value from the serialized representation. From PHP 7 onwards, the unserialize() function follows the format below − unserialize(string $data, array $options = [ ]): mixed The $data parameter is the serialized string which you want to unserialize. The $options parameter has been newly introduced. It is an associative array of following keys − Sr.No Name & Description 1 allowed_classes an array of class names which should be accepted, or false to accept no classes, or true to accept all classes. Omitting this option is the same as defining it as true 2 max_depth The maximum depth of structures permitted during unserialization. Example Take a look at the following example − <?php class MyClass { var int $x; function __construct(int $x) { $this->x = $x; } } class NewClass { var int $y; function __construct(int $y) { $this->y = $y; } } $obj1 = new MyClass(10); $obj2 = new NewClass(20); $sob1 = serialize($obj1); $sob2 = serialize($obj2); // default behaviour that accepts all classes // second argument can be ommited. // if allowed_classes is passed as false, unserialize converts all objects into __PHP_Incomplete_Class object $usob1 = unserialize($sob1 , [“allowed_classes” => true]); // converts all objects into __PHP_Incomplete_Class object except those of MyClass and NewClass $usob2 = unserialize($sob2 , [“allowed_classes” => [“MyClass”, “NewClass”]]); echo $usob1->x . PHP_EOL; echo $usob2->y . PHP_EOL; ?> It will produce the following output − 10 20 Print Page Previous Next Advertisements ”;
PHP – Expectations
PHP â Expectations ”; Previous Next Expectations are a backwards compatible enhancement to the older assert() function. Expectation allows for zero-cost assertions in production code, and provides the ability to throw custom exceptions when the assertion fails. assert() is now a language construct, where the first parameter is an expression as compared to being a string or Boolean to be tested. Configuration Directives for assert() The following table lists down the configuration directives for the assert() function − Directive Default value Possible values zend.assertions 1 1 − generate and execute code (development mode) 0 − generate code but jump around it at runtime -1 − do not generate code (production mode) assert.exception 0 1 − throw, when the assertion fails, either by throwing the object provided as the exception or by throwing a new AssertionError object if exception was not provided. 0 − use or generate a Throwable as described above, but only generates a warning based on that object rather than throwing it (compatible with PHP 5 behaviour) Parameters Assertion − The assertion. In PHP 5, this must be either a string to be evaluated or a Boolean to be tested. In PHP 7, this may also be any expression that returns a value, which will be executed and the result is used to indicate whether the assertion succeeded or failed. Description − An optional description that will be included in the failure message, if the assertion fails. Exception − In PHP 7, the second parameter can be a Throwable object instead of a descriptive string, in which case this is the object that will be thrown, if the assertion fails and the assert.exception configuration directive is enabled. Return Values FALSE if the assertion is false, TRUE otherwise. Example Take a look at the following example − <?php ini_set(”assert.exception”, 1); class CustomError extends AssertionError {} assert(false, new CustomError(”Custom Error Message!”)); ?> It will produce the following output − PHP Fatal error: Uncaught CustomError: Custom Error Message! In test.php:6 Print Page Previous Next Advertisements ”;
PHP – DOM Parser Example
PHP – DOM Parser Example ”; Previous Next The DOM extension in PHP comes with extensive functionality with which we can perform various operations on XML and HTML documents. We can dynamically construct a DOM object, load a DOM document from a HTML file or a string with HTML tag tree. We can also save the DOM document to a XML file, or extract the DOM tree from a XML document. The DOMDocument class is one the most important classes defined in the DOM extension. $obj = new DOMDocument($version = “1.0”, $encoding = “”) It represents an entire HTML or XML document; serves as the root of the document tree. The DOMDocument class includes definitions of a number of static methods, some of which are introduced here − Sr.No Methods & Description 1 createElement Create new element node 2 createAttribute Create new attribute 3 createTextNode Create new text node 4 getElementById Searches for an element with a certain id 5 getElementsByTagName Searches for all elements with given local tag name 6 load Load XML from a file 7 loadHTML Load HTML from a string 8 loadHTMLFile Load HTML from a file 9 loadXML Load XML from a string 10 save Dumps the internal XML tree back into a file 11 saveHTML Dumps the internal document into a string using HTML formatting 12 saveHTMLFile Dumps the internal document into a file using HTML formatting 13 saveXML Dumps the internal XML tree back into a string Example Let us use the following HTML file for this example − <html> <head> <title>Tutorialspoint</title> </head> <body> <h2>Course details</h2> <table border = “0”> <tbody> <tr> <td>Android</td> <td>Gopal</td> <td>Sairam</td> </tr> <tr> <td>Hadoop</td> <td>Gopal</td> <td>Satish</td> </tr> <tr> <td>HTML</td> <td>Gopal</td> <td>Raju</td> </tr> <tr> <td>Web technologies</td> <td>Gopal</td> <td>Javed</td> </tr> <tr> <td>Graphic</td> <td>Gopal</td> <td>Satish</td> </tr> <tr> <td>Writer</td> <td>Kiran</td> <td>Amith</td> </tr> <tr> <td>Writer</td> <td>Kiran</td> <td>Vineeth</td> </tr> </tbody> </table> </body> </html> We shall now extract the Document Object Model from the above HTML file by calling the loadHTMLFile() method in the following PHP code − <?php /*** a new dom object ***/ $dom = new domDocument; /*** load the html into the object ***/ $dom->loadHTMLFile(“hello.html”); /*** discard white space ***/ $dom->preserveWhiteSpace = false; /*** the table by its tag name ***/ $tables = $dom->getElementsByTagName(”table”); /*** get all rows from the table ***/ $rows = $tables[0]->getElementsByTagName(”tr”); /*** loop over the table rows ***/ foreach ($rows as $row) { /*** get each column by tag name ***/ $cols = $row->getElementsByTagName(”td”); /*** echo the values ***/ echo ”Designation: ”.$cols->item(0)->nodeValue.”<br />”; echo ”Manager: ”.$cols->item(1)->nodeValue.”<br />”; echo ”Team: ”.$cols->item(2)->nodeValue; echo ”<hr />”; } ?> It will produce the following output − Designation: Android Manager: Gopal Team: Sairam ________________________________________ Designation: Hadoop Manager: Gopal Team: Satish ________________________________________ Designation: HTML Manager: Gopal Team: Raju ________________________________________ Designation: Web technologies Manager: Gopal Team: Javed ________________________________________ Designation: Graphic Manager: Gopal Team: Satish ________________________________________ Designation: Writer Manager: Kiran Team: Amith ________________________________________ Designation: Writer Manager: Kiran Team: Vineeth ________________________________________ Print Page Previous Next Advertisements ”;