
Search In
Enumeration is a named value which is used to allocate various constant values to a single variable. This makes the program more easier to understand and maintain. Enumeration is also having better error checking techniques which additional security.
To Import csv file into mysql database using php script follow the below code:
For example: I have a .csv file data with this formate:-
(1) Indresh Singh, indresh@abc.com, 12345
(2) mukul kant, mukul.kant@abc.com, 12345
To insert this data i
Hello all,
In prior tutorial I have explained you about Stylus and Creating Syntax in Stylus. Now in this Tutorial I have demonstrated examples to inherit a class in stylus.
@extend
We can use @extend for inherit the css class check the example b
User Name Validation Code: Use below code, to check if the name field only contains alphabet and white space.
$name = test_input($_POST["name"]);
if (!preg_match("/^[a-zA-Z ]*$/",$name)) {
$nameErr = "Only alphabet and white space allowed";
}
E-
I am having a problem when I try to push value into a foreign key in MySQL table I don't know if it's correct but I have used the GET method to pass the primary key through a link but it didn't work so how can I use the right way to
I am fairly new to using python and servers most of what I know I have learnt from youtube.
1.I am trying to make a persistent connection but am not sure where I am going wrong 2. I also want to be able to send large files using chunked transfers. I
Basically toExponential method is used to convert a number into exponential form . In this method parameter is optional , if you write the parameter then this method do round the number otherwise not .
Syntax
numObj.toExponential ( [ fractionDigits
*It's simple to send custom emails in magento by using zend mail function
with success and error messages see the following code *
public function postAction()
{
$params = $this->getRequest()->getPost();
$recipient =
Simply to get User uploaded images from Pinterest we need to do following things first:-
Install Pinterest native app on iOS device.
Get logged in with any user credential.
Now Hit the Pinterest API with passing .
In json response you will get all
Promises - AngularJS's promise provides a built-in service $q. It provide a way to execute asynchronous call in series by registering it with a promise object.
Let us now elaborate promise and deferred.
Deferred - It represent the result/o
