Three are two file needed for import excel into database//first is import.php!--php$data = array();function add_person( $salutation, $first_name, $last_name, $email, $prefered_lang ){ global $data; $data []= array( 'salutation' => $salutation, 'first_name' => $first_name, 'last_name' => $last_name, 'email' => $email, 'prefered_lang' => $prefered_lang );}if($_POST['submit'] == 'Import'){if ( $_FILES['file']['tmp_name'] ){ $dom = DOMDocument::load( $_FILES['file']['tmp_name']...
I am ubed khan php developer have an 5years plus experience in web development lives in Nagpur India. I have knowledge about phonegap, cakephp ,mysql , jquery, javascript, ajax, html5, and css.
Wednesday, December 7, 2011
Monday, July 4, 2011
multiple radio button and multiple select problem with javascript
form name="choose_seats" action="" method="post" onsubmit="return valid();" //this is in loopselect name="dep_boarding_point[$i]" option value=""--Select--/option php loop goes here /select//endinput type="radio" name="select_trip" id="select_trip" value="$i"close formthis is javascriptfunction checkRadio(){ var x=document.forms["choose_seats"]["select_trip"]; var uncheck = 0; var objLength = x.length;//this condition is for...
Wednesday, June 15, 2011
string without special character and space
if(!filename.match(/^[a-zA-Z0-9_.]+$/)) { alert("Image name should be without special character and space!"); return false; ...
Friday, May 6, 2011
crossSlide
var xx=new Array("");
var len = xx.length-1;
jQuery.isEmptyObject = function(obj) { for (var name in obj) return false; return true; };
jQuery(function() {
jQuery('#slide').crossSlide({
sleep: 2,
fade: 1
}, [
?php
for($i=0;$isizeof($newarray)-1;$i++)
{
?>
{ src: '/img/prodtopimg/' },
?php
}
?>
{ src: '/img/prodtopimg/'+xx[len] }
])
});
var xx=new Array("");var len = xx.length-1;jQuery.isEmptyObject = function(obj) { for (var name in obj) return false; return true; };jQuery(function()...
Saturday, April 9, 2011
Short Open Tag
<? echo "This is Test"; ?> The above tag is called short open tag in php.This is not working until you will not remove semicolon (;) in front of short_open_tag in php.ini fi...
Subscribe to:
Posts (Atom)