
Search In
If you have any blogs or coding part that you need to show with the html tags, Then using PHP then you can perform this task
Lets say print the line below:-
<h1>I'm printing this line using the HTML tags</h1>
To print this line I use
Call a procedure with in procedure in SQL server :-
While working in sql Some times you need to Calling one stored procedure within another stored procedure. So you can implement this using below sample code:---
//Store Procedure 1
CREATE PROCEDUR
In Laravel 4.x we can easily use where condition with OR AND OR .Below is the example of this
Example:
User::where(function ($query) {
$query->where('a', '=', 1)
->orWhere('b', '=', 1);
})->where(function ($query) {
$que
Write a sql query to add column's value , containing null values also in records. But the sum of the added columns must be numeric only. Output cannot be null. It can be achieve by two ways.
SELECT (COALESCE(Column1, 0) + COALESCE(Column2, 0)) as
The Main Difference Between Do And Do While Loop Is :-
Do while Loop :- If we use "Do While" at least one time execute the loop and then check the Condition.
While Loop:- When we Use "While" then firstly check the condition after execute loop.
Do
Below is the code to get remaining months between two dates
date1 = '2011-03-31'
date2 = '2011-02-25'
(date1.to_date.year * 12 + date1.to_date.month) - (date2.to_date.year * 12 + date2.to_date.month)
Above will gi
Customer login issue is just because of 'form_key' value.
So , to avoid this error open your login.phtml file and place the below code under form tag -
<input type="hidden" name="form_key" value="<?php echo Mage::getSingleton('core/
How to show Rating Dynamically
If you want to show rating dynamically you can follow the code below. Here phone.rating contains rating and it comes dynamically.
<html>
<div class="rating-block clearfix" funboard-rating rating-value="phon
JSON.parse:unexpected end of data at line 1 or 2
This type error acour when you take printout from openerp setup so following these step
1- install all report module like account_financial_report_webkit,webkit report,
2- sudo apt-get install Apach
JSON.parse:unexpected end of data at line 1 or 2 this type error occur when you take printout from openerp setup.
So to resolve such error follow these below step
1- install all report module like- account_financial_report_webkit,webkit report.
a
