- Upvotes Received
- 3
- Posts with Upvotes
- 3
- Upvoting Members
- 3
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
128 Posted Topics
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? | |
 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: On success page echo $_POST; you will get all the response values.. | |
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. | |
/* `I have some dynamic checkboxes and corresponding textboxes. When a user ticks a checkbox and enters data into the corresponding textbox and submits, the value of the checkbox and textbox should be inserted into the database. I can insert the checkbox values perfectly, but the textbox values have issues. … | |
I am using Facebook, Twitter and Gmail APIs to login. I am getting **email, uid, provider, username** in **Gmail** & **Facebook** and **Provider, username, token, secret code for twitter**. But I want as much as user's details. Do they provide more information ? If yes then how I can get … | |
I have dropdown down boxes with multiselect; I'm using jguery to display Dropdown with multiselect; I'm populating Select Locality with Select City dropdown. Now, when I select a city from dropdown It should display its locality in dropdown with multiselect but showing localities in dropdown only. Code is attached in … | |
I am sending email with attachments.. but I did not getting any extention in the email.. all the attachments having name **noname** without extention, if I attach mutiple files then the attachmment also have only one file named **noname** without extention too.. <?php if(isset($_POST['send'])) { include('db.php'); $strTo = $_POST["email"]; $strSubject … ![]() | |
What kind of security measures I have to take to develop Core PHP and MySQL projects ? I used session and encruption, which are basics, there are any security technologies for Core or advanced PHP ? | |
Is there any method to detect location (viz. state) of the entered Mobile Number ? | |
I am Core PHP Developer and very keen to learn ZF2. But, I did not get any good site or tutorials on the web. Can anybody help or help the same ? | |
Re: Its quite simple; U have to use join tables first; and then use foreach or while loops to print sub and main categories. | |
It is possible to add font family (Arial, Comic MS Sense, etc) and make image as an anchor tag while creating text on image. <?php header("Content-type: image/png"); $string = "Text on image"; $font = 5; $width = imagefontwidth($font) * strlen($string); $height = imagefontheight($font); $image = imagecreatetruecolor ($width,$height); $white = imagecolorallocate … | |
Is there any FREE CMS for mp3 ? It tried but did not find good one. | |
I integrated Login with FB and Twitter; but I'm getting error when I click Login in Facebook link check at http://delhicertificates.in/ Warning: Cannot modify header information - headers already sent by (output started at /home/delhioia/public_html/index.php:7) in /home/delhioia/public_html/facebook/index.php on line 12 /home/delhioia/public_html/facebook/index.php ----------------------------------------------- <?php //Always place this code at the top … | |
I have **dropdown down boxes with checkboxes**; I'm using jguery to display Dropdown with checkboxes; I'm populating **Select Locality** with **Select City** dropdown. Now, when I select a city from dropdown It should display its locality in dropdown with checkboxes but showing localities in dropdown only. Please refer attached image … | |
I have Windows 7 installed; Ubuntu 12.04 is installed using Wubi. Now, I want to install Windows 8 too; I know it is possible; but do not how ? Can anybody help me to install 8 setp by step without any trouble. | |
How I can create Pop-up Login window on a particular page. If user login successfully, the back page will refresh. | |
Re: $row=mysql_fetch_array(mysql_query("select * from table_name")); .... .... <textarea name="name_of _textarea" rows="5" cols="23" style="height:145px; width:325px;"><?php echo $row['fieldname']; ?></textarea> ![]() | |
I have a website plus database with details like username, password and database name. Now I want to connect and use this database into another website. I tried to include, for example include('http://domainname.com/connect/db.php'); but unable to run query. How I can do this ? | |
I have city and its corresponding locality. When user clicks city then its locality will show in Dropdown-Checkbox. How I can do with jQuery, AJAX and MySQL. | |
I have three javascript/jquery scripts and I need all of them. I am new in jquery so not able to add all three scripts. If I do all then one of them do not work. I need to put all three scripts into one. <script type="text/javascript"> $(function(){ // off $("#pgfor").twoitems({ … | |
I have city and its corresponding locality. City is showing dropdwon and Locality in Dropdown-Checkbox I got code Dropdown-Checkbox, when user clicks city then its locality will show in Dropdown-Checkbox. It is showing multilist control in thepage but when I choose city it is showing multilist-box rather Dropdown-Checkbox. How I … | |
I am using Hindi Font and storing into database. While inserting I use mysql_real_escape_string() function; its working fine on local but not on server. **showing on server** Its adding extra slashes; but in local its showing correct INSERT INTO `tbl` (`num`, `address`, `name`, `father`, `state`, `city`, `gender`, `mobile`, `namdan_date`, `file`, … |
The End.