Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #4K
~44.0K People Reached
Favorite Tags

81 Posted Topics

Member Avatar for ramsiva

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 …

Member Avatar for gentlemedia
0
247
Member Avatar for ramsiva

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.

Member Avatar for ramsiva
0
182
Member Avatar for ramsiva

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

Member Avatar for rubberman
0
229
Member Avatar for ramsiva

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

Member Avatar for G_S
0
212
Member Avatar for ramsiva

below is json format , please help me how to do in php using json_encode [ { "test": "1", "ex": { "ex1": {}, "ex2": {} } } ]

Member Avatar for amith_ami
0
181
Member Avatar for ramsiva
Member Avatar for diafol
0
202
Member Avatar for ramsiva

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");

Member Avatar for diafol
0
210
Member Avatar for ramsiva

$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']){ } }

Member Avatar for ramsiva
0
635
Member Avatar for ramsiva

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;

Member Avatar for rubberman
0
117
Member Avatar for ramsiva

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

Member Avatar for rubberman
0
71
Member Avatar for ramsiva

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 …

Member Avatar for hielo
0
241
Member Avatar for ramsiva

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", ), …

Member Avatar for radow
0
713
Member Avatar for ramsiva

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" => …

Member Avatar for PsychicTide
0
439
Member Avatar for ramsiva

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 ( …

0
117
Member Avatar for ramsiva

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( …

Member Avatar for ramsiva
0
827
Member Avatar for ramsiva

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 …

Member Avatar for mblan180131
0
355
Member Avatar for ramsiva

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

Member Avatar for ramsiva
0
101
Member Avatar for ramsiva

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.

Member Avatar for hericles
0
209
Member Avatar for ramsiva

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>

0
92
Member Avatar for ramsiva

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 …

Member Avatar for diafol
0
195
Member Avatar for ramsiva
Member Avatar for broj1
0
318
Member Avatar for ramsiva

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

Member Avatar for daniellemacey
0
217
Member Avatar for ramsiva

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

Member Avatar for pritaeas
0
136
Member Avatar for ramsiva

<script> $(function() { $( "#city_name" ).autocomplete({ source: 'search.php' }); }); </script> any body help pass parameters to search.php

Member Avatar for Dani
0
154
Member Avatar for ramsiva

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

Member Avatar for ramsiva
0
283
Member Avatar for ramsiva

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.

Member Avatar for cereal
0
102
Member Avatar for ramsiva

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 …

Member Avatar for cereal
0
158
Member Avatar for ramsiva
Member Avatar for ramsiva

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] …

Member Avatar for ramsiva
0
122
Member Avatar for ramsiva

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][' …

Member Avatar for ihelpyou
0
274
Member Avatar for ramsiva

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 …

Member Avatar for ramsiva
0
755
Member Avatar for ramsiva

Trying from localhost but not getting $client->setRedirectUri('http://localhost:9080/getdetailsgoogleplus/oauth2callback'); any body help me

Member Avatar for pritaeas
0
70
Member Avatar for ramsiva

how to get facebook id and name using php any body help me while clicking facebook image on my website

Member Avatar for John_89
0
115
Member Avatar for ramsiva

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)

Member Avatar for ramsiva
0
240
Member Avatar for ramsiva

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

Member Avatar for ramsiva
0
372
Member Avatar for ramsiva

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

Member Avatar for pritaeas
0
74
Member Avatar for ramsiva

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

Member Avatar for David_50
0
135
Member Avatar for ramsiva

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=" …

Member Avatar for phoenix254
0
10K
Member Avatar for ramsiva

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"; } } ?> />

Member Avatar for ramsiva
0
135
Member Avatar for ramsiva

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++; …

Member Avatar for diafol
0
9K
Member Avatar for ramsiva

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');

Member Avatar for broj1
0
231
Member Avatar for ramsiva

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;

Member Avatar for ramsiva
0
186
Member Avatar for ramsiva

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() …

Member Avatar for ramsiva
0
246
Member Avatar for ramsiva

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>

Member Avatar for ramsiva
0
170
Member Avatar for ramsiva

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 …

Member Avatar for jkon
0
220
Member Avatar for ramsiva

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

Member Avatar for cereal
0
196
Member Avatar for OldDeveloper01
Member Avatar for ramsiva

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 …

Member Avatar for ramsiva
0
247
Member Avatar for ramsiva

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">&nbsp;</td> <td valign="top"> …

0
75
Member Avatar for ramsiva

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 …

Member Avatar for kalxas
0
180

The End.