
Search In
Decimal to Binary conversion
To convert decimal to binary conversion a function decbin() is used. Syntax:
decbin(number);
Example:
<?php
echo decbin("43") ;//specify the decimal that is need to convert
?>
Decimal to Hexadecimal conversi
What I want:
When I click the First Name a profile.php will open and in one place of a profile.php displays Profiles with a Similar Job Title and Industry
Example
Click Steven and Neena, Lex, and Alexander's profile will display in profile.php
Hello Readers
overloading and overridding in php
In php overloading define functions have similar signatures but thy have different parameters.
Overriding means one class may have override the another methods where the parent class defined a metho
Hello Friends,
If you are looking to set paging and listing in CodeIgniter. Please review the below example code and make your changes accordingly.
Controller Code
Open your controller file and make the changes as below:
<?php
defined
Cake php provide inbuilt pagination we can use this by using Paginator Helper. To use pagination first we need to use Paginator Component
public $components = array('Paginator','Auth');
now add the below code in your controller here i am using pagi
Hello Friends,
In Wordpress if you listing post on your page and wants to setup pagination on the pages. Please review the below code, I am listing vacancy and you can make your changes as per code requirement.
<table>
<the
There are two PHP functions count() and sizeof() which can be used to count the number of elements of an array. Both functions can also be used to count the number of elements of multi-dimensional array also. The explanation of these functions are gi
Suppose we have a table name employees in which a number of employees are there.
id
Employee
Age
1
User1
23
2
User2
34
3
User3
22
4
User4
35
Now what we need t
Hello Readers,
Today we will discuss about "Php server variables".
$_SERVER is one of the tremendous world-wide specifics within PHP. It includes information regarding headers, server, web host in addition to and many others. Its content has enormo
This blog tutorial will explain CakePHP find condition & query examples. let's take a look at some CakePHP find conditions. First, a very simple CakePHP find query that retrieves all records from the User model. Example: $this->User->fi
