
Search In
Removing the white spaces from a string is a easy task, but for doing this in whole of you website you need the recursive function in Cakephp
The 'array_walk_recursive()' will recursively get the request(GET/PUT) data and remove the white/blank spac
Here is the code for:
calling a method after a time interval delay.
we use the NSTimer to implement this.
NSTimer *timer= [NSTimer scheduledTimerWithTimeInterval:3.0
target:self
If you need to get some limited key values of an array then you can use function array_slice used in PHP
Let see the example I'm having an array of 400+ values
$exp = array("34", "45", "45", "554", "2".......);
Now I'm limiting my this $exp arra
hey ci experts can you help me plz
where im making mistake....
my query is not roll backed although im setting the first parameter in the $this->db->trans_start(TRUE); as TRUE
the queries are only rollback when i remove the $this->db->tra
After submitting the information,user clicks the submit button.
<!DOCTYPE html>
<html>
<head>
<script>
function confirmInput() {
fname = document.forms[0].fname.value;
alert("Hiii " + fname + "! You will now be redire
If you want to know weather the session is already begin or not in PHP then, you can use of the syntax from PHP manual
see the example below
if (!isset($_SESSION)) session_start();
2.
And in case you are using PHP < 5.4 you have to the code
To specify the how transparent an element is, we use opacity. Basically it defines the clarity of the image.
Example
<!DOCTYPE html>
<html>
<head>
<style>
img.t {
opacity: 0.8;
}
</style>
</
Hello Reader! If you want to remove all of the special charracter from a given string then PHP offers you to use 'preg_replace';
Lets see the example below:-
$GivenString = 'a2|"dM!@£PO^&$f 12~';
$NewString = preg_replace('/[^A-Za-z0-9\. -
Hiding columns and rows is useful to intensify the appearance of Excel Worksheet as the columns and rows which contains data which are not useful to keep displaying every time.
So if you are looking to know how to hide the columns and rows in your
If you declare a method that takes two parameters, on This method call , you need to pass two parameters along with it.
But, Ruby facilitates to declare methods that can work with a variable number of parameters.
Example
def evon (*t)
puts "
