What is webserver?
17. What is a variable in PHP?
18. Define URL.
19. Explain string operators in PHP.
20. Write the syntax to declare the function.
21. What is conditional statement?
22. Explain “do while” loop.
23.List HTML form controls.
24. Write the syntax for Mysqli_query( ).
Answers
Answered by
2
- A web server is server software, or hardware dedicated to running this software, that can satisfy client requests on the World Wide Web. A web server can, in general, contain one or more websites. A web server processes incoming network requests over HTTP and several other related protocols
- Variables are used to store data, like string of text, numbers, etc. Variable values can change over the course of a script. PHP automatically converts the variable to the correct data type, depending on its value. After declaring a variable it can be reused throughout the code.
- A Uniform Resource Locator, colloquially termed a web address, is a reference to a web resource that specifies its location on a computer network and a mechanism for retrieving it. A URL is a specific type of Uniform Resource Identifier, although many people use the two terms interchangeably.
- There are two string operators. The first is the concatenation operator ('. '), which returns the concatenation of its right and left arguments. The second is the concatenating assignment operator (' . = '), which appends the argument on the right side to the argument on the left side.
- In C and C++, functions must be declared before the are used. You can declare a function by providing its return value, name, and the types for its arguments. The names of the arguments are optional. A function definition counts as a function declaration.
- In computer science, conditional statements, conditional expressions and conditional constructs are features of a programming language, which perform different computations or actions depending on whether a programmer-specified boolean condition evaluates to true or false.
- In most computer programming languages, a do while loop is a control flow statement that executes a block of code at least once, and then either repeatedly executes the block, or stops executing it, depending on a given boolean condition at the end of the block.
- HTML Form Controls
- Text Input Controls.
- Checkboxes Controls.
- Radio Box Controls.
- Select Box Controls.
- File Select boxes.
- Hidden Controls.
- Clickable Buttons.
- Submit and Reset Button.
9. php //Creating a connection $con = mysqli_connect("localhost", "root", "password", "mydb"); //Executing the multi query $query = "SELECT * FROM players"; //Retrieving the records $res = mysqli_query($con, $query, MYSQLI_USE_RESULT); if ($res) { while ($row = mysqli_fetch_row($res)) { print("Name: ".
yeh glt baat h..., itne saare ques k bss 5 he points....dil bada kro....¯\_ಠ_ಠ_/¯
✌
Similar questions