No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
81 Posted Topics
I am planning to build an app in nextcloud but what is the front-end framework i should choose?. I have found the nextcloud repo having angular 1, but the i find it being an old framework, Is there option to use Angular 2 or higher. otherwise which is the best … | |
I have configured node V6.10.3 and npm 3.10.10. I have attached the screen shot kindly please check. My platform is ubuntu 14. I have run the command : npm start after that only blan page opening htt://localhost:4200 Kindly help me to get this problem resolve. | |
Hi, I have used current_timestamp, i am submitting same values then current_timestamp not updating. I have used below for updating timestamp. (timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP) Kindly help me to update timestamp, on every hit | |
i installed on windows python 3.5.1 latest version on windows but i am try to fail on set up module django. any body help me, to set up django and how to open sample program on browser | |
below is json format , please help me how to do in php using json_encode [ { "test": "1", "ex": { "ex1": {}, "ex2": {} } } ] | |
below is sample <span completed></span> I need below <span pending></span> any body help me ![]() | |
how to pass values using load. because i need to get values in php($_REQUEST) any body help me jq("#myid").load(location.href + " #myid"); ![]() | |
$multi=array(0=>array("object"=>"25","kr"=>"25","score"=>"50","start"=>"2016-07-01","end"=>"2016-08-15"), 1=>array("object"=>"31","kr"=>"19","score"=>"50","start"=>"2016-07-01","end"=>"2016-08-15"), 2=>array("object"=>"2","kr"=>"2","score"=>"4","start"=>"2016-07-01","end"=>"2016-08-15"), 3=>array("object"=>"4","kr"=>"4","score"=>"8","start"=>"2016-08-16","end"=>"2016-09-30"), 4=>array("object"=>"6","kr"=>"6","score"=>"12","start"=>"2016-08-16","end"=>"2016-09-30"), 5=>array("object"=>"9","kr"=>"9","score"=>"20","start"=>"2016-08-16","end"=>"2016-09-30")); $mydatearray=array("startone"=>"2016-07-01","startsec"=>"2016-08-16"); foreach ($multi as $key => $value) { if($value['start']==$mydatearray['startone']){ } else if($value['start']==$mydatearray['startsec']){ } } | |
I have below code for getting the sundays. any body me to get saturdays $start = new DateTime('2013-01-06'); $end = new DateTime('2013-01-20'); $days = $start->diff($end, true)->days; $sundays = intval($days / 7) + ($start->format('N') + $days % 7 >= 7); echo $sundays; | |
I have two dates like $date1 ="2016-05-01"; $date2 ="2016-05-31"; how to get saturday and sunday count like between range is 9 | |
Below is my code function getWorkingDays($startDate, $endDate){ $begin=strtotime($startDate); $end=strtotime($endDate); if($begin>$end){ echo "startdate is in the future! <br />"; return 0; }else{ $no_days=0; $weekends=0; while($begin<=$end){ $no_days++; $what_day=date("N",$begin); if($what_day>5) { $weekends++; }; $begin+=86400; }; $working_days=$no_days-$weekends; return $working_days; } } $beginday=date("2016-04-01"); $lastday=date("2016-06-30"); $nr_work_days = getWorkingDays($beginday,$lastday); echo $nr_work_days; ?> above code is giving count … | |
I have multidimensional array that include department and category. Based on the selecting department and category, i need to search names. below is my code $shop = array( array( "emp_name" => "ramu", "department_name" => "cse", "Number" => 15 ), array( "emp_name" => "ramesh", "department_name" => "eee", "Number" => "56", ), … | |
any body help me to convert php multi dimensional array to php multi dimensional array format $data = array( array( "emp_name" => "ramu", "department_name" => "cse", "Number" => 15 ), array( "emp_name" => "ramesh", "department_name" => "eee", "Number" => "56", ), array( "emp_name" => "ravi", "department_name" => "it", "Number" => … | |
Below is my array i need help for getting ans store this array into ---> array( "0" => array ("ex1" => ff,"ex2" => 3)); Array ( [0] => Array ( [0] => Array ( [ex1] => ff [ex2] => 3 ) ) [1] => Array ( [0] => Array ( … | |
given below my code is displaying two date pickers <script> $(function() { $( "#from" ).datepicker({ minDate: -2, maxDate: "+1d", changeMonth: true, numberOfMonths: 2, onClose: function( selectedDate ) { $( "#to" ).datepicker( "option", "minDate", selectedDate ); } }); $( "#to" ).datepicker({ minDate: -2, maxDate: "+1d", changeMonth: true, numberOfMonths: 3, onClose: function( … | |
I am passing string, but in mysql query not executed. because IN not taking integers please check and solve this one. My query not working SELECT * FROM `employee` WHERE `employee_id` IN (1001,a/bb/001,a/bb/002,a/bb/003,a/bb/004,a/bb/005,a/bb/006,a/bb/007,a/bb/008,a/bb/009,a/bb/010,a/bb/011,a/bb/012) ORDER BY employee_name ASC correct one is SELECT * FROM `employee` WHERE `employee_id` IN ('1001','a/bb/001','a/bb/002','a/bb/003','a/bb/004','a/bb/005','a/bb/006','a/bb/007','a/bb/008','a/bb/009','a/bb/010','a/bb/011,'a/bb/012') ORDER BY … | |
how to use on() event with autocomplete. I am using below jquery code $(function() { $( ".skillsex" ).autocomplete({ source: 'search.php' }); }); but i want to use on() event with auto complete any body help me. how to use | |
I need to refresh page. without open page using cron job any body explain how to do in cron job without open page i need to refresh page. Because refresh page means new records updating insert into database. | |
I am using html 5 for downloading php and open. but pdf file i want to display next tab. any body help me below is my code <a href="image/one.pdf" download="one.pdf" target="_blank"> <img src="image/download.jpg" style="height:50px; width:50;"> </a> | |
below is my php and html code <div id="entry1" class="clonedInput"> <h3 id="reference" name="reference" class="heading-reference"></h3> <div id="domain_section" class="notranslate"> <div class="form-group"> <label class="col-md-3 control-label label_pro" for="inputDefault">Product:</label> <div class="col-md-6" > <select class="form-control populate select_pro" name="select_pro[]" id="select_pro" data-plugin-selectTwo > <?php //`product_id`, `product_name`, `quantity`, `cat_id`, `banner`, `desc`SELECT * FROM `products` $get_scategory = mysql_query("select * from … ![]() | |
Please help me how to do click button to display select box. at the same time add and remove select box | |
i need to get record based on maximum created date any body help me date in mysql database structure is varchar. date is 150921141206 any body help me | |
I am not getting records In my DB modify_date structure is timestamp my query is SELECT * FROM table WHERE modify_date> 2015-09-29 13:50:13 any body help me | |
<script> $(function() { $( "#city_name" ).autocomplete({ source: 'search.php' }); }); </script> any body help pass parameters to search.php | |
I need help for delete image from server. i have a path http://example.com/myapp/example/next/image.png any body help to remove image from server | |
I have two dates var date1="2015-09-18 06:08:50"; var date2="2015-09-18 06:08:51"; I am suffering to get greater one date2. any body help me. | |
I am using so much jquery code in my php page and add text boxes using var newTextBoxDiv = $(document.createElement('div')) .attr("id", 'abc' + nextcount); newTextBoxDiv.after().html( ); echo "<script>window.location='abc.php?a=data&b=data1&c=data2'</script>"; finaly all text boxes with jquery code coming on browser after submitting. please any body help to solve this problem .(after submitting … | |
value is 150916124549 how to change the value to Y-m-d any body help me | |
array([details] => Array([0] => Array( [name] => 454 [location] => 4) [2] => Array([name] => 454 [location] => 5))) I have array details with two sub arrays [0] and [2] how to convert and order [2] to [1] array([details] => Array([0] => Array( [name] => 454 [location] => 4) [1] … | |
newTextBoxDiv.after().html('<div id="hoteldiv' + counter + '">'+'<input type="text" name="tripdetails[0][hoteldetails][' + counter + '][name]" id="textbox' + counter + '" value="" >'+ '<input type="text" name="tripdetails[0][hoteldetails][' + counter + '][number]" id="textbox' + counter + '" value="" >'+ '<input type="text" name="tripdetails[0][hoteldetails][' + counter + '][address]" id="textbox' + counter + '" value="" >'+'<br><br>'+ '<input type="text" name="tripdetails[0][hoteldetails][0][contact][' … | |
when i am clicking on button, page is refreshing and share popup displayed and immediately hiding any body help me <?php /* Command Center Settings: Fill these out before you use the tool. */ $googleApiClientId = "xxx"; // Your API client ID from https://code.google.com/apis/console/ $inputSize = "70"; //How wide do … | |
Trying from localhost but not getting $client->setRedirectUri('http://localhost:9080/getdetailsgoogleplus/oauth2callback'); any body help me | |
how to get facebook id and name using php any body help me while clicking facebook image on my website | |
I have array Array ( [0] => 1,2,3,4,5 [1] => 1,2 [2] => 1,2 ) how to remove duplicate elements and i want to single array like Array ( [0] => 1 [1] => 2 [2] => 3 [3] => 4 [4] => 5) | |
Any body help me how to use stored procedure and sample code for how to use. I dont know usage of stored procedure. Currently i am facing interview questions on stored procedure | |
I have DB s_id sn_id sec_id 1 1 1,2,3 Based on sn_id i want to display sec_id and sec_name. I want to convert into json array format like this [{"sec_id":"1","sec_name":"A"}, {"sec_id":"2","sec_name":"B"},{"sec_id":"3","sec_name":"C"}] Any body helo to get json array format | |
I am importing Excel into Data Base. I enter in Excel is 9-Oct-2006.I want to get the excel to php file but i am not getting. I am trying this code $date = date('m-d-Y',strtotime($dob)); echo $date; but getting o/p is 01-01-1970 any body help me to get date formate | |
I am passing one variable successfully any body help me to pass two variables to ajax page $.ajax({ type: "POST", url: "fetch_st_name.php", data: "sid=" + sid, cache: false, beforeSend: function() { $('#display1').html('<img src="loader.gif" alt="" width="24" height="24">'); }, success: function(html) { $("#display1").html(html); } }); I am passing one variable. data: "sid=" … | |
How to apply readonly inside forloop in checkbox or disabled checked values in checkbox ramaining empty values will be active any body help me <input type="checkbox" class="chkNumberck" value="<?php echo $sub_id; ?>" <?php for($i=0;$i<$count1;$i++) { if($sub_id1[$i]==$sub_id){ echo "checked"; } } ?> /> | |
I am getting response as standard id in my project & i need to pass this value to php variable any body help me. My PHP page <div class="checkbox check-success"> <?php $b=mysql_query("select * from standard_names ")or die(mysql_error()); $count = mysql_num_rows($b); $i = 0; $breakafter=5; ?><?php while($row = mysql_fetch_array($b)) { $i++; … ![]() | |
I am not getting while clicking on image my code $pdf->Image('logo.png',10,20,33,0,' ','http://www.fpdf.org/'); working but I want to display the local file. Mean click on image it will go the the file path. Below code is not working $pdf->Image('a.jpg',20,65,20,0,'','searchstudentavailability.php'); | |
I want to insert into DB 000001 and 000002 and .... but inserting 1 and 2.. any body help me to solve this problem my code is $b = mysql_query("SELECT MAX(app_number) FROM tb2_payment ")or die(mysql_error()); while($row_b = mysql_fetch_array($b)){ $app_number=$row_b['MAX(app_number)']; if($app_number=="") { $app_number2=000001; } else { $app_number2=$app_number+1; } } echo $app_number2; | |
I am getting all instead of am or pm any body help to get am or pm function display_ct() { var strcount var x = new Date() var x1=x.getMonth() + "/" + x.getDate() + "/" + x.getFullYear(); x1 = x1 + " - " + x.getHours( )+ ":" + x.getMinutes() … | |
I am loading images from folder but problem is first loading div after storing images. Because of this problem i have to increase loading time div. <script type="text/javascript"> $(function() { $("#snap").click(function() { $("#myweb").load("webcamsnap.php") }) }) </script> | |
Any body help me to get image name in save page I have <img> tag for image. i want this <img> name is transfer to save.php using <input type "file"> any body help me I want to get image name In <img> tag image name. my code is index.php <img … | |
In my project i have a problem is: Without clicking browse button we have to get name using <input type="file"> any body help me to clear this one <img src="<?php echo $image; ?>" style="width:190px; height:150px;" /> <input type="file" name="userfile" id="userfile" value="<?php echo "Penguins.jpg"; ?>"> i am not getting the userfile | |
![]() | Re: just know i found very gud info |
I am getting result 3 div's but i want to get result for checking. my ajax page <div> <!-- This is empty div and please don't remove this --> <div id="inner_1"> <?php echo $val; ?> </div> <div id="inner_2"> <?php echo $val; ?> </div> </div> my html page <div id="div_1"></div> <a … | |
Any body help me to get file name, i am using webcam my code is <div class="row"><label class="col-xs-2">Take Image<span style='color:red;'>*</span></label><div class="col-xs-4"> <table class="main"> <tr> <td valign="top"> <div class="border"> Live Webcam<br> <script> document.write( webcam.get_html(304, 214) ); </script> </div> <br/><input id="snap" name="snap" type="button" class="snap" value="SNAP IT" onClick="take_snapshot()"> </td> <td width="50"> </td> <td valign="top"> … | |
I am getting id's 3 times. count will be 3 but i am getting 9. i dont know where i did mistake. any body help me $result = mysql_query("SELECT * FROM candidate where user_id ='$username' and password='$password' and status='0' " ); $num=mysql_num_rows($result); if($num>0) { $row1=mysql_fetch_array($result); $cand_id=$row1['cand_id']; $f_mobile=$row1['f_mobile']; $d2=mysql_query("select * from … |
The End.