Give any ten basic functions in PHP?
Answer Posted / mahesh
1)getdate()//getting the current dates
2)ceil()//round to the next higher value.
3)floor()//rounds to the minimum value(killing the
fractional part)
4)round() round the value according to the fractional part
5)isset() checking for a setting condition
6)explode()// explode a string with the values given
7)print_r()prints trhe values of an array, also a variable
to an array
8)define()//define a value to a text...(Permanent)
9)header("Location: text.php)//jump to the location given
10)include()//include a file..
| Is This Answer Correct ? | 9 Yes | 1 No |
Post New Answer View All Answers
What is an object in php?
How do you destroy a session?
How to create a mysql connection?
Explain what are the different errors in php?
Are php session secure?
How do sessions work in php?
How to find the length of a string?
Tell me how can we pass the variable through the navigation between the pages?
If we login more than one browser windows at the same time with same user and after that we close one window, then is the session is exist to other windows or not? And if yes then why? If no then why?
Is age nominal or ordinal?
What is difference between php and html?
Is it possible to remove the html tags from data?
Tell me how to initiate a session in php?
Where is the functions php in wordpress?
If the variable $var1 is set to 10 and the $var2 is set to the character var1, what's the value of $$var2?