
Search In
Multiple File Upload in cakephp by one user and save the images name in one column in database :
Hello readers, This is a small blog on how to upload multiple file in cakephp. This is very simple and useful code, hope this code will be
DECODE is a function in Oracle and is used to provide if-then-else type of logic to SQL. It is not available in MySQL or SQL Server.
It is only used for the MySql server and in the Oracle server for the case like manipulation tha
In magento if we need to get the custom options and their sub options of any product we need to write a query and from that result we can extract the options.
Lets see how can we do it:
Firstly, load the product from the catalog/pro
Logging is an act of keeping the record of all data inputs, processes, data outputs, and final results in a program. It is one of the most important parts of application maintenance. Logging helps in easy and quick identification of the bug in the co
I am trying to make a server and client which sends a file from client to server and the server saves it to hard then the server asks for another file and if the answer of the client is yes then the client sends the second file then the server again
My question is with regards to the below code its a hangman game. I got this code online and trying to reverse engineer it so i can understand it better. My question is specifically regarding two lines , i need to understand the individual line and
Bus Topology
Advantages
▸ It is easy to set up, handle, and implement.
▸ It is best-suited for small networks.
▸ It costs very less.
Disadvantages
▸ The cable length is limited. This limits the number of network nodes that can be
Adding Translation to a Rails Application
Hi friends, in my previous blogs related to internationalization of rails application, we have configured the i18N api and saw different types of methods to pass the locals, if you have not read those then
If you want to know any mobile device is accessing your website, Then the easy way to detect device is to run a php code.
Lets see the code below :-
<?php
$useragent=$_SERVER['HTTP_USER_AGENT'];
if(preg_match('/(android|bb\d+|meego).+mobile|av
Using jQuery you can use the following code:
$.browser.device = (/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(navigator.userAgent.toLowerCase()));
This will return "device" for all devices.
You can use the below code snip