
Search In
First you need to create a new folder directory inside root folder and create index.php where you need to create cookie.
$mysecurecookie="123456";
setcookie("admincookie",$mysecurecookie,0,"/");
header("Location: /administrator/index.php");
Now
JavaScript Comparing For and While Loop
Both the loops are similar in some ways, like both are used for repeated execution of statements as well as execution are done till the condition is true.
For loop and while loop they differ by the syntax as,
Template is one of the type of Joomla Extensions. It represents your site look i.e., layout of your site. Templates are of two types: one is Front-end Templates and other is Back-end Templates.
Template Types
Front-end Templates:
Front-end templat
There are few most common ways to fix database connection errors which are as given below.
1 Need to check Database details such as username or password which is exist in configuration.php is either incorrect or has been changed.
2 Compare databas
Hello Reader!
Getting last the key index of any array PHP can be done on several ways as follows:-
Lets consider an example array $MyArray
$MyArray = array(
'one' => firstelement,
'two' => secondelement,
'three' => lastelement
Hi,
Here I am writing way to save object to the parse cloud.
Parse provides ParseObject to handle to saving object.
ParseObject has saveInBackground() method that need to invoke to save.
Let's consider you have to save EmployeeInfo.
ParseObject
Php offers you to send data in various ways like get, post. Using php you can also use file_get_contents
to send data using url. Lets see an example below:-
$information = array('http' => array(
'method' => 'POST',
'content' => 'us
Whenever you create a new user in MySQL it wiil stored in the User table of mysql database. There are two ways to create users:
Create user statement:
CREATE USER username@hostname
IDENTIFIED BY 'password'
For example:
CREATE USER root@localh
String is a collection of characters in an array.It is terminated by by \0 (null character)
There are two ways to declare string in c language.
1)By char array
declaring string by char array is as follows:
char ch[10]={'e','v','o','n', '\0'};
Many times we need to show our old values in a form after an error or validation stops our form from submitting. Laravel has a very nice way of retaining old values and populating it back into our form.
I myself used it in a drop down, where I want
