How to connect oracle databates with PHP
To communicate Oracle database with PHP is too easy process but this is different from MySQL database connectivity.
Here here is code to that connects oracle database with PHP
User,Password are required to connect with oracle. Also IP address Port and SID is required . These are credentials of the server where database is hosted.
How to compare text boxes values in JavaScript?
To compare two text boxes string in java script here is following code that gets value text boxes and compares the values and return the results. Here is JavaScript code.
$(document).ready(function() {
$(“#re_password”).bind(‘keyup blur’, function(){
var password = $(“#password”).val();
var re_password= $(“#re_password”).val();
if(password != re_password)
{
$(“#re_passwordInfo”).html(“Password miss match”);
return false;
}
else
{
$(“#re_passwordInfo”).html(“”);
return true;
}
});
});
In above code we are getting values of ...
How to add sticky image on sidebar as scrollable on WordPress
There is no specific plugin to make a sticky image for your website to scroll on all pages of the website. But I have made some customization and made it possible to have a sticky image on my website ...
Hidden functions of WhatsApp
WhatsApp is most instant way of communication now a days. Almost everyone in the world would have WhatsApp installed in smart phone but its very obvious that common user don’t use all potential of WhatsApp. There are lot of ...
HEC Ehsaas undergraduate Scholarship program 2022-2023
HEC Ehsaas undergraduate Scholarship program 2022-2023:
This is often the most important ever needs-based undergraduate scholarship program within the history of Pakistan. Under this program, every year, 50,000 students from low-income families are awarded scholarships for 4 to 5-year undergrad ...
HA Proxy / Load Balancer Step By Step Installation Guide
HA Proxy / Load Balancer Step By Step Installation Guide
HA Proxy is High availability solution for load balancing and reliable flow of web application requests. It supports HTTP Web based application and TCP.
Now a days for large scale applications ...
How to create select element in Zend Framework?
To create select element in Zend framework you have to write following code. This code snippet add select element to the form, Then you have to render this element in view of the form
$this->add(array(
‘type’ => ‘ZendFormElementSelect’,
‘name’ => ‘size_unit’,
‘attributes’ => array(
‘id’ => ‘size_unit’,
),
‘options’ => array(
‘label’ => ”,
// ...
How to create select element in Zend Framework?
To create select element in Zend framework you have to write following code. This code snippet add select element to the form, Then you have to render this element in view of the form
$this->add(array(
‘type’ => ‘ZendFormElementSelect’,
‘name’ => ‘size_unit’,
‘attributes’ => array(
‘id’ => ‘size_unit’,
),
‘options’ => array(
‘label’ => ”,
// ...
How to create URL in zend framework?
Zend Framework deal with model controller and view. Controller has actions and methods, URL in zend is combination of controller and actions, So to create url in zend framework you have to define specific controller and methods where you have to redirect.
Here is code snippit where you can define URL.
In above code Property is controller ...
How to create menu list element in Zend Framework
To create select element in zend framework you have to create options list in database and bring that option to select menu.
If you are a select menu for country and its options is list of all countries then you will create country list in database and then will pull that list in select menu.
here is ...