
Search In
How to use where clause and inner joins?
This is the way to use where clause and inner joins in Cakephp 3
Use matching if its cakephp 3.0.x.
Use innerJoinWith() if its cakephp 3.1.x
For example:
return $this->Product->find()
-
<code> use for inline code it can wrap and <pre> for block code that must not wrap so, new lines and spaces get rendered as new lines..
It is little mystified by the <pre> and <code> tags. If you’re not sure which to use and
Install Github
First update the apt-get package lists with this command apt-get update then install git.
$ sudo apt-get update
$ sudo apt-get install git
Now git has been installed on Ubuntu, lets setup git.
How to set up Git
Now we need to do
Hello friends, I am writing this blog which will let you know how to create a file using cat command.
Using cat to create a file
cat is useful for creating a file. Enter the command cat, followed by the > (the right chevron) character and the fi
How to add Cron Jobs in Ubuntu?
I was facing issue for adding cron jobs in dedicated hosting (in Ubuntu). In order to add cron jobs in Ubuntu go to the terminal and type:
$ sudo crontab -e
this will open your personal crontab (cron configuration
Hello Friends,
Today we will discuss how to get a filename without extension in Joomla. In Joomla, stripExt() function is used for this purpose. It will return the name of the file without extension.
Syntax:
$name = JFile::stripExt($filename);
I
I am writing this blog because I faced issue for adding cron jobs in Amazon Ec2 cloud server. I was using Linux 64bit .
To add cron jobs open command prompt (via putty if windows) and login via ssh, when you are login then type:
which php
this wi
Dear all,
I have a code to modify a file. This code make changes on my file and save it to a new file. But, I want to have changes(modifications) on my original file not a new one. I made attempts to change the code but it didn't work. How can I
I usually write code as I go along, but I noticed this takes more time in the long run especially when I lose track of what codes does what where, but I wanted to start planning my code by making UML class diagrams and mockups.
However, like the tit
Hello friends,
Today we will learn how to compile and run a C program in Ubuntu using the following steps:
Step 1. Open your terminal.
Step 2. Now type the following command:
gedit cprg.c
The above command open a text editor in which you will wr
