
Search In
In search function returns directly a RecordSet.
In below code i have explain search function.
def LinkedIn_check_similar_partner(self, cr, uid, LinkedIn_datas, context=None):
res = []
res_partner = self.pool.get('res.partner')
To update a a field in the database in cakephp we uses an array,
the task is done as,
$this->request->id = $id;
$data=array();
$data['User']['id'] = $this->request->id;
$data['User']['fname'] = $filename;
$this->User-&g
You can delete the duplicate row without using the temporary table. You can use the self join concept.
Suppose we have person table contain 3 columns named id, name, and city.
INSERT INTO person(id,name,city) VALUES
(1,'a', 'aa'),
(2,'b','bb'),
(3,'
To use soap api to add a products of categories into root category , first we need to create a magento user with the permission to access the api.
Following code will be use to set products to root category
$soap = new SoapClient('http://magentose
Hello Reader's If you want o get the total counts of a views on youtube video by api, then you can use the following php code.
<?php
$video_ID = 'your-video-ID'; //set the id from url
$JSON = file_get_contents("https://gdata.youtube.com/feeds/api
Hello Readers, Here is a small example which will explain how to show product views count in magento.
Add below line of code in view page:
Path: app/design/frontend/default/currentheme/template/catalog/product/view.phtml
<?php
$id = $id=$_help
i have this database which contain table for questions and other for answers
how can i display each questions with the answers that belong to this question
my problem is when i try to display the questions i get duplicated rows or all the answers for
Hello Reader's! if you have an given array on with you want to sort with any selected key index as show below:-
Array
(
[0] => Array
(
[configuration_id] => 10
[id] =&
Below mentioned command is used to find a particular text in all stored procedures
SELECT OBJECT_NAME(id)
FROM syscomments
WHERE [text] LIKE '%EmailOnTRX%'
AND OBJECTPROPERTY(id, 'IsProcedure') = 1
GROUP BY OBJECT_NAME(id)
If you want to allows and send smses in OpenERP(Odoo) follow the below mentioned steps:
Step-1Install Entity SMS module.
Step-2 After that we have to customised Entity SMS module.
In below example, I have custmozied .py file. You can directly copy
