
Search In
Hello Readers ,
If we want to insert more records at the end of an array then their is function called array_push() that we can use.
Example :
If we have an existing array array("red","green"); and we want to insert two more values at the end of t
Hello Readers ,
With the use of array_unshift() , it will insert new values at the beginning of an array.
We can add one value, or as many as you like.
Syntax:
array_unshift(array,value1,value2,value3...)
Example:
<?php
$a=array("a"=>"r
In python method mapping table is an array of PyMethodDef structures which creates this (PyMethodDef) structure through a function and the table needs to be terminated with a sentinel that consists of NULL and 0 values for the appropriate members.
u
Hello Friends,
If you want to check the file existence in Word Press or you want to check file type is right or not. Wordpress provide an inbuilt functionality to check this with validate_file(). Please look at below examples for the same:
// Defin
Hi Reader's,
Welcome to FindNerd, today we are going to discuss how to reads a file into an array ?
If you want to read a file into an array then, you should use file() function.This function reads a file into an array.
syntax of file() functi
Converting SOAP response to Array in php.
Dealing with a SOAP client response for a flight booking application or any other, This is how we get response from SOAP below:
<S:Envelope
xmlns:S="http://schemas.xmlsoap.org/soap/envelope/
Colors
Of
Testing
White
Box Testing (WBT):-
White
box testing is also known by the different names
Clear
box testing
Glass
box testing
Transpa
Boundary Value Analyses & Equivalence partitioning are both test case design techniques in black box testing.
Equivalence partitioning: In this method, the input data is divided into different three classes.
This method is used to reduce the numb
You can use JavaScript to add elements like textbox, button, radio button in a html form. createElement() method is used to create html elements at runtime.
Here is the example:
HTML:
<form>
<h2>Dynamically add element in form.</h2&
Step-1 Install the live chat (im_livechat) module.
Step-2 After that custmozied in .py(Python file) file:
In below example, I have custmozied in .py file.Use below python code in your .py file.
import random
import openerp
import json
import openerp.
