
Search In
Hello Friends
If you are looking to update records in Codelgniter. Please follow the code for the same:
// Define the array with your db attribute as key and your updated data as value
$data = array(
'country_name' => $countryName,
Hello readers, In this blog I guide you "How to convert XML to JSON using PHP"
Below is the 2 example converting XML to JSON.
1. example
$xml = simplexml_load_string($xml_string);
$json = json_encode($xml);
$array = json_decode($json,TRUE);
2. e
Hello Reader if you want to hide or disappear a div then you can do it by exlpode effect. This will driven by Jquery.
First create a blank html file name is exlodeeffect.html and its code will go like this:-
<html lang="en">
<head&g
As we know that there are also some built in directives provided by angular js. Apart from these we can also create our own custom directives by using .directive function.
When we are naming a directive we must ensure that it should be in camel case
In python search function searches for first occurrence of RE pattern within string with optional flags.
The search function is used to re.search function and returns a match object on success.
use the below syntax for search function in .py file,
In python your extension module is the initialization function and This function is called by the Python interpreter when the module is loaded. the function is named initModule.
use the below function in your own module in .py file,
PyMODINIT_FUNC i
In python match Function is a function witch attempts to match RE pattern to string with optional flags and re.match function returns a match object on success, None on failure.
Here is the syntax for this function:
re.match(pattern, string, flags=0
If you want to reverse the order of elements in a given range, then you can use the reverse function defined in the STL algorithm.
Template for reverse
template <class BidirectionalIterator>
void reverse (BidirectionalIterator first, Bidire
Random shuffle function is used to randomly rearrange the elements in a given range. The random_shuffle function is defined in the STL algorithm.
Template for random_shuffle
template <class InputIterator>
void random_shuffle (InputIterator
Im a Network Admin and start Learning Programming,I start with C and reading a book.
anyone can help answer and explain to me how to come up with it.
1.Write a structure that is to be used with a binary tree. The structure is to hold title name and
