
Search In
First we have to define the States
So to define states follow the below code.
columns = {
’state’: fields.selection([
(’new’,’New’),
(’assigned’,’Assigned’),
Hello Reader's today we will discuss about "Email validation in Php".
The below code tells that how to check your email is valid or not. For this we use regular expression for validate email.
<?php
if(isset($_POST['submit']))
{
$email_from = $_
Hello reader's,
Below is the example to Remove the HTML element using Jquery
If you having trouble with such issues, then use the below code.
Here is the HTML
<p>Write your text here.</p>
<p>Write your text here.</p>
<
In Cakephp we have some default error pages but we can create our own error page. Here we will create a custom error page to show error if controller not found. If controller not found then we will show 404 error page. Below are few steps for creati
Hi,
In many cases we have to give a background color to a superview with alpha less than 1.0. If we give color from XIB/storyboard to a superview with alpha 0.4 then it assigns the alpha 0.4 to its subviews also.
What if we need to give alpha 0.4
If you are facing following exception while running your code:
Exception in thread "main" java.lang.OutOfMemoryError: PermGen space
Default size of most of JVM Perm Space is around 64MB, it can easily ran out of memory if you have too many classes
This is the Implementation of Stack using Array in C. The concept of Stack is to work on LIFO(Last In First Out). The Element can be Pushed into the Stack of Size 5. The Below code shows How the stack works. The Last Element inserted by the user is s
Hello All,
Here I am sharing some information to include and use of the SoftKeyboard Plugin for Android.
1.Install SoftKeyboard plugin using the latest version from GitHub:
$ cordova plugin add https://github.com/phonostar/PhoneGap-SoftKeyboard.g
Hello Readers,
These are some techniques to speed up the cakephp website:-
1. Upgrade versions regularly
When you work on cakephp website.You need to upgrade your Cake website to the latest version in order to keep it performing at its best.
2.
Step-1 Install the warehouse module.
Step-2 After that custmozie .py(Python file) file:
In below example, I have custmozied .py file. You can directly copy the below python code in your .py file -
class stock_warehouse(osv.osv):
_name = "stock
