Friday, 26 April 2013
What is ORDER TO CASH (OTC or O2C)
The order-to-cash (OTC or O2C) process contains everything from the order, packaging, and delivery of goods and services to depositing the money in the bank.
Tuesday, 23 April 2013
Different type of Fetching Function in Mysql
All the fetching function is used to fetch data from mysql database.
But its data representation and use can be different. No need to confuse
while using this function. Programmer can used any of the fetching
function below.
For best understanding, refer this table

Different type of fetching function is given below:
1. MYSQL_FETCH_ROW()
2. MYSQL_FETCH_ARRAY()
3. MYSQL_FETCH_ASSOC()
4. MYSQL_FETCH_OBJECT()
1. MYSQL_FETCH_ROW(): It is used to fetch data in numeric array. It gives result row as a numeric array.
<?php
$result=mysql_query("select * from user_table");
$result_row=mysql_fetch_row($result);
echo $result_row[0];
echo $result_row[1];
echo $result_row[2];
?>
Result: 1 Discuss Desk
2. MYSQL_FETCH_ARRAY(): It is used to fetch data in numeric array as well as associative array . It gives result row as a numeric array as well as associative array.
<?php
$result=mysql_query("select * from user_table");
$result_row=mysql_fetch_row($result);
echo $result_row[0];
echo $result_row[1];
echo $result_row[2];
/* numeric array as well as associative array */
echo $result_row[id];
echo $result_row[first_name];
echo $result_row[last_name];
?>
Both Result: 1 Discuss Desk
3. MYSQL_FETCH_ASSOC(): It is used to fetch data in associative array. It gives result row as a associative array.
<?php
$result=mysql_query("select * from user_table");
$result_row=mysql_fetch_row($result);
echo $result_row[id];
echo $result_row[first_name];
echo $result_row[last_name];
?>
Result: 1 Discuss Desk
4. MYSQL_FETCH_OBJECT(): It is used to fetch data as object. It gives result row as a object.
<?php
$result=mysql_query("select * from user_table");
$result_row=mysql_fetch_row($result);
echo $result_row->id;
echo $result_row->first_name;
echo $result_row->last_name;
?>
Result: 1 Discuss Desk
Different type of Fetching Function in Mysql
For best understanding, refer this table
Different type of fetching function is given below:
1. MYSQL_FETCH_ROW()
2. MYSQL_FETCH_ARRAY()
3. MYSQL_FETCH_ASSOC()
4. MYSQL_FETCH_OBJECT()
1. MYSQL_FETCH_ROW(): It is used to fetch data in numeric array. It gives result row as a numeric array.
<?php
$result=mysql_query("select * from user_table");
$result_row=mysql_fetch_row($result);
echo $result_row[0];
echo $result_row[1];
echo $result_row[2];
?>
Result: 1 Discuss Desk
2. MYSQL_FETCH_ARRAY(): It is used to fetch data in numeric array as well as associative array . It gives result row as a numeric array as well as associative array.
<?php
$result=mysql_query("select * from user_table");
$result_row=mysql_fetch_row($result);
echo $result_row[0];
echo $result_row[1];
echo $result_row[2];
/* numeric array as well as associative array */
echo $result_row[id];
echo $result_row[first_name];
echo $result_row[last_name];
?>
Both Result: 1 Discuss Desk
3. MYSQL_FETCH_ASSOC(): It is used to fetch data in associative array. It gives result row as a associative array.
<?php
$result=mysql_query("select * from user_table");
$result_row=mysql_fetch_row($result);
echo $result_row[id];
echo $result_row[first_name];
echo $result_row[last_name];
?>
Result: 1 Discuss Desk
4. MYSQL_FETCH_OBJECT(): It is used to fetch data as object. It gives result row as a object.
<?php
$result=mysql_query("select * from user_table");
$result_row=mysql_fetch_row($result);
echo $result_row->id;
echo $result_row->first_name;
echo $result_row->last_name;
?>
Result: 1 Discuss Desk
Different type of Fetching Function in Mysql
How to enable Task Manager in Window
While Installing new copy of window or due to any virus attack,
sometime, Window has disable Task Manager. If you want to enable or
disable task manager manually, do the below steps one by one:
1. Click Start icon of your window (left side)
2. Click Run or Press start+R
3. Type REGEDIT and OK
4. Click HKEY_CURRENT_USER
5. Browse the following
6. HKEY_CURRENT_USERSoftwareMicrosoftWindows CurrentVersionPoliciessystem
7. In the Right side, See the value of Disable TaskMgr
If Value is 1 , that is disable Task Manager
If value is 0, that is enable Task Manager
8. If is disable then by Right click DisableTaskMgr and select
Delete. (When prompted with "Are you sure you want to delete this
value", select Yes.
9. Close the Registry Setting and reboot the system.
10. Now click on the Task Manager
Discuss Desk
Discuss desk (www.discussdesk.com)
is a blogging website with new technology content. Here, User can read
and comment the latest blog. They can give suggestion about that blog.
This Blog contain wide topics from Tech News, Web Design, Social Media,
Software and Tech Tutorials
.http://www.discussdesk.com
.http://www.discussdesk.com
Subscribe to:
Posts (Atom)