- Upvotes Received
- 3
- Posts with Upvotes
- 3
- Upvoting Members
- 3
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
Is there any way to backup/dump/export all the databases in one step and vice-versa (import all databases into MySQL) in MySQL ? If yes, then how I can do this..? | |
How I can get current date and 15 days back date from current date in 'Y-m-d' format ?? e.g. if current date is 2011-06-21 then $currentdate=2011-06-21 and $dateback=2011-06-06; | |
I have 2 tables; first table Book, having book id and chapters. The second table points having studentid, bookid and hw-points for the students. I need to get results like below tabular format. Chapter 1 Chapter 2 Chapter 3 Book 1 sum of c1/B1 sum of c2/B1 sum of c2/B1 … | |
I have an array having two fields, total minutes and cost of teacher (I have teacher id) and clients. I am showing my data in tabular form. If there are more than 1 records of same teacher then I have to add new array element of sum of total minutes … | |
How I replace my eregi_replace with preg_replace expression? eregi_replace($word, '<font style="background:' . $color . '";>\\0</font>', $text); and I how do I check preg_replace function is executed or not? | |
I want to build a mysql query to search comma-separate string with in another comma-separate string. For example : search string '1,3,5' from '1,2,3,4,5,6' What will be the mysql query? | |
![CRM_2016-03-17_13-29-30.png](/attachments/large/3/3db294eb9c3a9a7b7b1bee7032293307.png "align-center") I am appending bootstrap chosen drop-down on button click, the javascript is not triggering that why it is showing simple multiple select. $(document).on('click', '#more_provisions_button', function () { console.log('Incre : '+i); $("#provision_div").append("<p class='par'><div class='form-group' style='clear:both'><div class='col-sm-6 mr-bottom'><select name='provision_month[]' id='day' class='chosen-select input-md' style='width:500px;'><option value='January'>January</option><option value='February'>February</option><option value='March'>March</option><option value='April'>April</option><option value='May'>May</option><option value='June'>June</option><option value='July'>July</option><option … | |
How I can group concat of ids with limit 2 and order by id desc? Means, need all the ids except first two ids in desc order. select group_concat(id) as ids from private_tuition_teacher_pdf where client_id = 14 and teacher_id = 15 limit 2 order by id desc | |
How I can convert ? Tue Mar 15 2016 05:30:00 GMT 0530 (India Standard Time) into 2016-03-08T00:00:00+05:30 | |
When I am submitting base64 via jquery and ajax, my string breaking in junks, If I print in the php page. function add_to_report(){ $('#search_loader').fadeIn(); var report_comment = ($('#report_comment').val()) ? $('#report_comment').val() : 'No comments'; var imgData = $('#chart1').jqplotToImageStr({}); // given the div id of your plot, get the img data $('#image_string').val(imgData); … | |
How I can send emails to gmail, yahoo, etc. from localhost. I am using XAMPP in windows. What are the necessary changes in php.ini ?? | |
I would like to send Post Data to a Symfony Controller, but it doesn't work. When I send my data with AJAX, it is sending the POST data, but it is showing red link in the console with no error message or status. Here is my Javascript code: function addprivate(){ … | |
I am storing the formatted text in the table which contains html tags (<br />, <strong>, etc). If I use raw attribute in the div, it show perfectly but not in textarea. How I can display the formatted content in the textarea? | |
I know current page can be reload from the directive too. But, I am newbie, don't know how it can be done. Below is my directive, from where I want to reload page e.g. http://myproject/die/ap/assess.php#/reading/827/3/2378/2 .directive('popupdirective', function($log, $compile, $controller, $http, $templateCache, $rootScope){ return { restrict: 'A', scope:{popView:"@",getdata:"="}, link:function(scope,element,attr,pCtlr){ angular.element(".pop-window-close span.fa.fa-times").click(function(){ … | |
I am new in Symfony2. I am trying to get result from a drop-down using ajax and symfony; I did all the settings as it is which is mentioned in the documentation provided. But I am getting **POST http://localhost/docCMS/web/app_dev.php/getclientaddress/13 500 Internal Server Error** DefaultController.php /** * @Route("/getclientaddress/{id}", name="get_client_address", options={"expose"=true}) * … | |
I have Canvas page which displays canvas div vertically. Now, I want to horizontally oriented; I tried but can't success. Below is the code: var ctx; var extId = "fglkbiekhcllcfgdmbcadcfdgfgigoaj"; jQuery(document).ready(function() { /* Extensiion ID of the Chrome App. */ /* Getting the Port Reference and Setting Max XY*/ var … | |
The website showing horizontal scroll bar with black-half portion. On chrome and FF, it is ok but on IE 8-9 it have design issue. www.aftermoonsolar.com is the website. | |
0 down vote favorite I am using Bootstrap 3 which it have Notification, I want that notification with a custom JS function in which I will pass message as a parameter then that message will display in the notification. Below is the sample notify example which will show message on … | |
Is it possible to connect USB device in the HTML page? If yes then How I can? I want to integrate Boogie Board into a dynamic page with a question. | |
I am getting : Warning: pack() [function.pack]: Type H: illegal hex digit s in D:\xampp\htdocs\project\includes\encryption.php on line 139 Warning: pack() [function.pack]: Type H: illegal hex digit s in D:\xampp\htdocs\project\includes\encryption.php on line 139 Warning: pack() [function.pack]: Type H: illegal hex digit s in D:\xampp\htdocs\project\includes\encryption.php on line 139 Warning: pack() [function.pack]: Type … | |
I am inserting a record via Campaign Monitor API; as I am passing below array; why I am getting error: Array( [EmailAddress] => tljljljl@example.com [Name] => Trial test [CustomFields] => Array ( [0] => Array ( [Key] => First name [Value] => trial ) [1] => Array ( [Key] => … | |
I am trying to upload files into Google Drive but problem is that I have logged-in every time. I searched a lot but no luck. Is there any way I can do authentication process without manual and logged-in intervention? I knew the concept of refresh-token but I am not able … | |
I am using marquee.js for moving images; Its working fine on local server and on static page. But when I include into my .php page (using loop) it is hanging and giving below error **A script on this page may be busy, or it may have stopped responding. You can … | |
How I can create .mdf file from MySQL; if yes then HOW and if not then which tool do I use create .mdf from MySQL ? | |
How I can convert following formula in PHP? P × r × (1 + r)^n / ((1 + r)^n - 1) | |
I integrated paypal payment successfully who have account in Paypal. There are 2 options, either you are a paypal user and you use your paypal, which is the way I have been testing. But, if you are not a member and want to test the cred/debit card option. I want … | |
Re:
Hi Friends, I am struggling from last couple of days with this paypal return array. After completion of successful transaction in Live account, Paypal sends empty resultset to my website. Is there anything i need to set in Mercant paypal account ? Coming to Sandbox, everything is working fine. Please … | |
I am trying to write .htaccess; but two statements are conflicting each other.. If one runs another not; vice-versa; The last statements are conflicting each other.. #Fix Rewrite Options -Multiviews RewriteEngine on RewriteCond %{SCRIPT_FILENAME} !-f #RewriteRule ^(.*)/$ hotels-in-india-list.php?url=$1 RewriteRule ^top-destination/(.*)$ package-detail.php?g=g&url=$1 RewriteRule ^hotels-list/(.*)$ hotel-city.php?g=g&url=$1 RewriteRule ^hotel-detail/(.*)$ hotel-detail.php?g=g&url=$1 RewriteRule ^(.*)/(.*)/$ hotels-in-india-list.php?id=$1&url=$2 … | |
I need light-weight AJAX pop-up form submit, where I can submit details into an email, I searched, but I cant find. |