
Search In
If you want to get data from dictionary and add them into an array below code will help you,In this blog firstly i have created a NSMutableAarray and after that created a NSArray which contain the value like ram,13 etc then i created a NSMutableDicti
If we have two submit buttons and want to detect which one is pressed then simply use post method i.e. $this->request->data.
<?php echo $this->Form->create(false); ?>
<?php echo $this->Form->text('input'); ?>
<?php e
Before I have written blog how to add sub-folder in our controller but not mention that how we will do Controller sub-folder routing.As we all know that routing plays an important role in any project. In Laravel 4.x sub-folder routing can be done in
Here I have created Set Image and Image ScrollView. In the below example when we clicked Image that image will be set on page. Below example will described you how to make Image View and ScrollView.
Step(1)activity_main.xml Layout-
<?xml version=
Without .htaccess file in cakephp your application will not run.
There are 3 different .htaccess files:
/var/www/app/webroot/.htaccess
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
Rewrite
To reset the auto-increment values you can apply any one of the method given below:
Auto increment value can be reset by using alter table statement. Syntax to reset auto-increment value is as follows:
ALTER TABLE table_name AUTO_INCREMENT = valu
You can use function constructor along with new keyword when you want to define your function dynamically. Function constructor accepts any number of string arguments.
This is the syntax for it:
var variablename = new Function(Arg1, Arg2..., "Funct
SWF files are loaded using the Loader class:
1.Create a new URLRequest object with the url of the file.
2.Create a new Loader object.
3.Call the Loader object's load() method, passing the URLRequest instance as a parameter.
4.Call the addChild() meth
.button1 input[type='submit'] {
background:#C30;
padding:6px 30px;
color:#FFF;
font-size:18px;
border:none;
cursor:pointer;
}
<div class="button1">
<input type
After requesting facebook permissions we can check facebook permissions status using following code.
[FBRequestConnection startWithGraphPath:@"/me/permissions" completionHandler:^(FBRequestConnection *connection,id user, NSError *error) {
NSNumb
