
Search In
To **delete the test sales/Order data from magento** run the below queries in your magento database --
SET FOREIGN_KEY_CHECKS=0;
##############################
# SALES RELATED TABLES
##############################
TRUNCATE `sales_flat_creditmemo`;
There will be requirement where you might need to select the first n rows, or do pagination in Oracle. This can be achieved using Rownum.
Lets create sample table and data to understand the logic.
create table Employees (
id number primary
Hello Friends,
If you are looking to implement star rating with Ajax. Please find the below example for the same:
1) Open your HTML file and write the code below to display stars:
NOTE :: I have attached the primary key with div-id(tutorial-id; ?&g
I am trying to print this sample report in pdf
so far this is what I have
1st Problem: the report should have another 2 cell (Ave and %) below the criteria which are (Exam, Progress Report, Quiz, Project)
2nd Problem: The records under the crit
While defining and developing web applications one important thing that you have is the configuration file that contains the information and settings of your applications.
This is the basic structure of your configuration file.
<co
While performing database operations like Insert,Update,Delete,Select we use Sql classes for doing it.
But instead of writing the entire code for classes we can just do it with the helper class DLL known as Sql Helper.
We need to fi
For working in gridview you can use either the jquery or the predefined template for displaying the data in the grid.
First i will create the model class that is used to display the details in the gridview.
public enum getstatus
While working into the MVC project you always return ActionResult from the controller action.
But there are scenarios when we want to return other things like list and in that case we need to make changes in our view to do that.
&nb
Hello friends, I was facing issue in database. I wanted the auto increment should start from 1.
There were 20 rows in table. When I deleted all the rows from the table and inserted new row then auto increment started from id = 21 instead of 1. I wan
Hello readers, today I will guide you about "How to Check Video Exist in Youtube through URL and ID using PhP?".
As we all know, in many website's generally videos comes from Youtube. Sometimes the videos are not present on the Youtube