
Search In
Hello Reader! If you are developing the website which depends on user's web browser then you must first find out the web browser that is opened. By using PHP you can get easily this info using the library code below:-
<?php
function detect_web_b
If you want to use transaction_fields in OpenERP(Odoo) follow the below mentioned code and paste it in your model.py file: -
def name_get(self, cr, user, ids, context={}):
if not len(ids):
return []
res = []
for r in self.read(cr, user, ids, [’name
In Xcode 6.1 and above versions sometimes we get this Pods-prefix.pch error.
To resolve this issue you just need to follow simple steps.
Quit Xcode.
Go to Libarary > Developer > Xcode > Derived Data
Remove All Derived Data.
Do not forget
Hello Guys,
We generally need paging in all the listing pages in website. To set paging in Zend Framework, please follow the below code::
// you need to set the below code in your controller
$select = $db->select()->from('posts')->order(
Hello Reader's! if you have set of arrays and you want to get all of them seperatly then the code below will help you.
Let's say if you have
[ [a], [b], [c], [a, b], [a, c], [b, c], [a, b, c] ]
and you want this
[a,b,c]
The code will go lik
Many of the wordpress themes are having options in admin panel for uploading and changing the favicon image. But if we want to make a custom favicon image or we do not have any option in theme then we can create a custom favicon for every wordpress s
Im new to this forum and new to php too… hope i get some help…
I have bootstrap column in while loop, what i want is if bootstrap last column is odd then i want column to be 12 (col-12), i found the way to check number even or odd but
Hello Reader's if you want to get the details about the vedio from your local server then you can use the code liberary as below:-
$ffmpeg_path = 'ffmpeg'; //or: /usr/bin/ffmpeg - depends on your installation
$vid = 'PATH/TO/VIDEO'; //Replace he
AngularJS has provided a $http service that works as an ajax call in jquery. It performs a function of reading data from the server. $http makes a call to the database and retrieves the desired data or records.
How to use?
1. you need to inject $ht
Promises are logics that are executed after any function is completed. In AngularJS, promises are provided by the in-built $q service. It executes asynchronous functions by registering them with the promise object.
Deferred helps to con
