Hi fellas, I hope my first message here comes across more helpful than bothering. I’ve recently launched a WordPress backup plugin - WPvivid Backup/Restore. It contains pretty all basic features that you’ll need to backup/restore you site and is fairly easy to use. And most important, it’s completely free(free update and support). I made it because I realized that there’s still a growing need for the easier and more affordable backup solutions in WordPress community, we hope our plugin can give people a hand. Please check it out at WordPress’ plugin repository: https://wordpress.org/plugins/wpvivid-backuprestore/ Any feedback will be greatly appreciated. Joe

Member Avatar
+0 forum 0

hiii i need your help, i am web developer (fresher). i want display images from database/folder using ajax in codeignater. i try ur source code not working.

Member Avatar
+0 forum 0

I have a very standard code where I use a CRUD interface on my Database. The issue is that every attempt I made to redraw/update the table with the new data [ $('.table').DataTable().draw(); ] has failed miserably. Here is my targeted code: function manageData(key) { var name = $("#countryName"); var shortDesc = $("#shortDesc"); var longDesc = $("#longDesc"); var editRowID = $("#editRowID"); if (isNotEmpty(name) && isNotEmpty(shortDesc) && isNotEmpty(longDesc)) { $.ajax({ url: 'ajax.php', method: 'POST', dataType: 'text', data: { key: key, name: name.val(), shortDesc: shortDesc.val(), longDesc: longDesc.val(), rowID: editRowID.val() }, success: function (response) { if (response != "success") alert(response); else { $("#country_"+editRowID.val()).html(name.val()); …

Member Avatar
+0 forum 0

I'm trying to make SSO like [Yandex](http://yandex.ru/) do. How achive authentication without redirect if user has been already authenticated at another service provider? I am working on SAML, but I could not achieve implementation without a redirect.

Member Avatar
+0 forum 0

Hey guys, Myriad Festival is coming to Brisbane next week and heaps of tech experts both local and international will be speaking there! It's my first time going to an event like this and I'm super excited to hear the industry mentors speak so I thought I'd let you all know so you could buy tickets as well if you were interested! Just search Myriad Brisbane for the extended speaker list, too many goodies to name! Hope to see you there :)

Member Avatar
+0 forum 0

I'd like to get all of a mysql table's col names in a select box, and display the selected column name in a table. I just want to select one column at a time to display it in a single column table. I am assuming this can be done with a single query for all columns because they all will be displayed in the same table format. What I did so far is this: <html> <head> </head> <body> <table id="tbresult"> <tr> <th>Column</th> </tr> <?php include ("config.php"); $sql = "SHOW COLUMNS FROM mytable"; $result = mysqli_query($conn,$sql); while($row = mysqli_fetch_array($result)){ echo "<tr><td>" …

Member Avatar
+0 forum 0

Hi I have problem that cannot show form validation errors in view . I am using ajax to post data to controller. Here is my Controller's Validation part private function _validate() { $this->form_validation->set_rules('Name', 'Name', 'required|alpha'); $this->form_validation->set_rules('CellNo', 'CellNo', 'required|numeric'); $this->form_validation->set_rules('Address', 'Address', 'required'); $this->form_validation->set_rules('Rate', 'Rate', 'required|numeric'); $this->form_validation->set_rules('Advance', 'Advance', 'required|numeric'); $this->form_validation->set_rules('BottlesQty', 'BottlesQty', 'required|numeric'); $this->form_validation->set_rules('DeliveryDay', 'DeliveryDay', 'required'); $this->form_validation->set_rules('DeliveryPerson', 'DeliveryPerson', 'required'); $this->form_validation->set_rules('referenceName', 'referenceName', 'required'); if ($this->form_validation->run() == FALSE) { $errors = validation_errors(); echo json_encode(['error'=>$errors]);} } Here is view with ajax <div id="print-error-msg" class="alert alert-danger " style="display:none"></div> //part of ajax posting to controller var formData = new FormData($('#form')[0]); $.ajax({ url : url, type: "POST", data: formData, …

Member Avatar
+0 forum 0

Greetings to everyone, I am working as a freelance web developer, i have more than 4 years experience in osclass scripts. I am working in the osclass scripts for the past 4 years and have created nearly 67 sites in osclass, and have created many plugins, cuztomized themes, plugin cuztomizations according to the clients need. I saw many of the post was unanswered here regarding the osclass scripts, so i make this new topic those who are wandering for a good programmer for their osclass script, reply me here if you need my support, thanks.

Member Avatar
+0 forum 0

> this is php code for get value while ($row = $activeRiders->fetch(PDO::FETCH_ASSOC)){ $rider_name = $row['RiderName']; $longitude = $row['CurrentLongitude']; $latitude = $row['CurrentLatitude']; $locations[]=array( $rider_name, $latitude, $longitude ); } $markers = json_encode( $locations ); > Jquery function $(document).ready(function() { $('#map').height($('.page-container').height()); $( window ).resize(function() { $('#map').height($('.page-container').height()); }); <?php echo "var markers=$markers;\n"; ?> > Initialize Map map = new GMaps({ el: '#map', lat: 24.8615, lng: 67.0099, zoom: 12, zoomControl : true, zoomControlOpt: { style : 'SMALL', position: 'TOP_LEFT' }, circleOptions: { fillColor: '#ffff00', fillOpacity: 1, strokeWeight: 5, clickable: false, editable: true, zIndex: 1 }, panControl : false, streetViewControl : false, mapTypeControl: false, overviewMapControl: false, …

Member Avatar
+0 forum 0

Hi Dynamic Dependent Select Box last one not working Bank,State,District is working branch ont working please check below code Please help. index.php <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <style type="text/css"> .select-boxes{width: 280px;text-align: center;} select { background-color: #F5F5F5; border: 1px double #FB4314; color: #55BB91; font-family: Georgia; font-weight: bold; font-size: 14px; height: 39px; padding: 7px 8px; width: 250px; outline: none; margin: 10px 0 10px 0; } select option{ font-family: Georgia; font-size: 14px; } </style> <script src="jquery.min.js"></script> <script type="text/javascript"> $(document).ready(function(){ $('#country').on('change',function(){ var countryID = $(this).val(); if(countryID){ $.ajax({ type:'POST', url:'ajaxData.php', data:'country_id='+countryID, success:function(html){ $('#state').html(html); $('#city').html('<option value="">Select District</option>'); } }); }else{ $('#state').html('<option value="">Select Bank</option>'); $('#city').html('<option value="">Select State</option>'); …

Member Avatar
+0 forum 0

Hello, I'm having trouble posting JSON to a url using Flask, AJAX and Javascript. Essentially, I would code using a library [Jquery Sortable](https://johnny.github.io/jquery-sortable/) to create a sorted list. From that sorted list I want to post to the server. The problem is that the server does not recieve the JSON post at all (or rather it doesn't know the content type). Now I've experimetned with multipe methods and it has led me to this issue of not posting. The information is posted below: {% extends "base.html" %} {%block title %}{{Title_Program}}{%endblock%} {% block styles %} {{super()}} <!-- In <head> --> <style …

Member Avatar
+0 forum 0

How can I get my current content to slide to the left and bring in new content from the right (after clicking on button 1) when an existing student's username and password are correct, and if it's not correct display error messages that either the username or password isn't correct below each respective textbox .I am thinking about using an if/else condition. Also, how would I load the student's existing account information upon sliding it from the right, if I haven't created the content yet? If I already created the content to be slide in from the right, where do …

Member Avatar
+0 forum 0

Hi, Currently, I am stuck with this problem whereby I do not know how to make my text disappear with a click of radio button event. To start with, the data is being drawn out using Store Procedure and the data appeared inside the textboxes when user selected a item in a dropdownlist. But, I need to make the text go away if user decided to press on a radio button say Yes. Any tips on how to do this kind of code would be most appreciated. Tks.

Member Avatar
+0 forum 0

I need to validate a name field to validate if the name field is empty and if the name existed in my database. If it passes both the validation(the user has input a name that is not existed in my database), then the form will be submitted. The problem is with my validation of name existed in my database. I used ajax and even though I used e.preventDefault() to stop the form from submitting if the name existed in the success block, it just pops up an alert "name existed" and proceed to submit the form. Please help. index.jsp <%@ …

Member Avatar
+0 forum 0

/* initialize the calendar -----------------------------------------------------------------*/ var date = new Date(); var d = date.getDate(); var m = date.getMonth(); var y = date.getFullYear(); /* selects the events to load in the calendar -----------------------------------------------------------------*/ $.ajax({ url: 'process.php', type: 'POST', data: 'type=fetch', async: false, success: function(response){ json_events = response; } }); $('#calendar').fullCalendar({ //events: [{"id":"14","title":"New Event","start":"2015-01-24T16:00:00+04:00","allDay":false}], events: JSON.parse(json_events), utc: true, defaultView: 'agendaWeek', header: { left: 'prev,next today', center: 'title', right: 'month,agendaWeek,agendaDay' }, editable: true, droppable: true, slotDuration: '00:30:00', timezone: 'local', eventReceive: function(event){ var title = event.title; var start = event.start.format("YYYY-MM-DD[T]HH:mm:SS"); $.ajax({ url: 'process.php', data: 'type=new&title='+title+'&startdate='+start+'&zone='+zone, type: 'POST', dataType: 'json', success: function(response){ event.id = response.eventid; …

Member Avatar
+0 forum 0

I got two dropdowns in each product in my cart. When i select my both option my class on success is not updating the cost. It only updates when i refresh the page, i dont want to refresh my page to get the cost. this is my script... $(document).ready(function() { $('.fabric, .size').on('change', sendData); function sendData() { var id = $(this).data("id"); var fabricID = $('.fabric[data-id=' + id +']').val(); var sizeID = $('.size[data-id=' + id +']').val(); if ( fabricID !== "" && sizeID !== "") { $.ajax({ type : 'GET', url : 'calculates.php', dataType : 'json', data : { prod_id:id, fabric_id: fabricID, …

Member Avatar
+0 forum 0

Guys i'm trying to get data joined from two tables. I have a select options dropdowns with Fabrics names the other has sizes. I am wondering how i will make my dropdown changes the values for each fabric in each size and multiply for the amount of fabric selected. this is my fabric table, tecido is Fabrics(this table name is almofadas): [Table picture](http://i.stack.imgur.com/8ZXVg.png) This is my price table, only a part of it (this table name is valores_almofadas): [Table picture](http://i.stack.imgur.com/sr5KM.png) This is my checkout.php UI: [My UI](http://i.stack.imgur.com/6Zc0H.png) Lemme explane it better... First thing, is the user has to select a …

Member Avatar
+0 forum 0

I need to create a form with five dropdown select lists. Making a selection in any list will cause the other lists to repopulate. It's fine if the page refreshes in order to repopulate the lists, although eventually I'd love to have it happen dynamically (using Ajax or JQerry). The development environment I am working in (and learning) is PHP. ## A working example ## It needs to function in the same way as the form found [here](http://www.cruises.co.za/cruise/search). I have been provided with the dataset used by that form. (I receive the data as an XML feed, which I populate …

Member Avatar
+0 forum 0

Hi, I need your help to plot multiple locations from mysql table using latitude and longitude and I want to display a particular location in different color using google map or any other

Member Avatar
+0 forum 0

Hello, i not sure what is the problem with my code. Below is my code. <?php if(isset($_SESSION["products"]) && count($_SESSION["products"])>0){ $total = 0; foreach($_SESSION["products"] as $product){ $product_name = $product["name"]; $product_price = $product["price"]; $product_code = $product["product_code"]; $product_qty = $product["product_qty"]; $currency = "RM "; $img = mysqli_query($link, "SELECT img FROM internet_shop where id=$product_code"); $row = mysqli_fetch_assoc($img); $item_price = sprintf("%01.2f",($product_price)); // price x qty = total item price $subtotal = sprintf("%01.2f",($product_price * $product_qty)); //Multiply item quantity * price $total = sprintf("%01.2f",($total + $subtotal)); //Add up to total price ?> <tr> <form id="update_info_cart<?php echo $product_code?>" class="form-horizontal form-label-left"> <input name="update" type="hidden" value="update"> <td><img src="<?php echo "adminPanel/MenuPicture/".$row['img']?>" …

Member Avatar
+0 forum 0

Hi Guys, Happy new year for everybody. Look i'm trying to achive a goal to load iframe on bootstrap modal dinamical. Like i just want the iframe src be called just when modal is opened. Because the src url is coming from database, and in some page there more than 30 records. it mean 30 iframes inside of page, and it making the page slawly. <?php require_once("dbcontroller.php"); $db_handle = new DBController(); if ($_REQUEST['id'] == 17 || $_REQUEST['id'] == 19) { $pages = $db_handle->runQuery("SELECT it.item_id, it.item,it.url_demo, cm.media_filename,it.offering_id,off.offering_id,off.affiliate_id,aff.affiliate_id FROM affiliate as aff join offering as off ON off.affiliate_id = aff.affiliate_id INNER JOIN …

Member Avatar
+0 forum 0

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}) * @Template("SuntecMarcusAssignmentBundle:Default:getclientaddress.html.twig") */ public function getclientaddressAction($getclientaddress){ $client = $this->get_client_details($id); routing.yml fos_js_routing: resource: "@FOSJsRoutingBundle/Resources/config/routing/routing.xml" suntec_marcus_getclientaddress: pattern: /getclientaddress/{param} defaults: { _controller: SuntecMarcusAssignmentBundle:Default:getclientaddress } options: expose: true ajax $(document).on('change', '#client', function (){ var client_id = $(this).val(); var getTeamsUrl = Routing.generate('get_client_address',{ id: client_id }); $.ajax({ type : "POST", url : getTeamsUrl, success : function(response){ alert(response); …

Member Avatar
+0 forum 0

Hi All, This issue keeps reocccuring and I can not for the life of me figure out why. When I add ANY AJAX control to my ASP.Net project, I end up getting an error that a reference in the designer is not defined. For example, if I add an UpdatePanel, the designer will generate something like the following: `Protected WithEvents UpdatePanel1 As Global.System.Web.UI.WebControls.UpdatePanel` If I change this to `Protected WithEvents UpdatePanel1 As Global.System.Web.UI.UpdatePanel` the error goes but every time I modify the page, I have to edit all the designer entries for any AJAX control on the page. I looked …

Member Avatar
+0 forum 0

I am following this[ tutorial](http://carlofontanos.com/ajax-multi-file-upload-in-codeigniter/) but i am facing problem in uploading file i done similar as in tutorial.Below is my code Code: <?php echo form_open_multipart('upload/do_upload', array('class' => 'upload-image-form'));?> <div class="form-inline"> <div class="form-group"> <input type="file" name="uploadfile[]" id="js-upload-files" multiple = "multiple" accept = "image/*"> <br /> </div> <button type="submit" value="upload" class="btn btn-sm btn-primary" id="js-upload-submit">Upload files</button> </div> <script> jQuery(document).ready(function($) { var options = { beforeSend: function(){ // Replace this with your loading gif image $(".upload-image-messages").html('<p><img src = "<?php echo base_url() ?>img/images.png" class = "loader" /></p>'); }, complete: function(response){ // Output AJAX response to the div container $(".upload-image-messages").html(response.responseText); $('html, body').animate({scrollTop: $(".upload-image-messages").offset().top-100}, 150); } …

Member Avatar
+0 forum 0

Hi al you wonderful daniweb peoplez :) I am currently on a mission to write some cool javascript / jquery / ajax controls and now i realised that if I call the control multiple times it seems to lose scope. I realise that this is a small design flaw, and would lie to know how I can correct this? I would like to create new instances for each call. Here is the javascript that would create the control: var testProperties = { testControlId: '', defaultText: 'Hello World', }; $.fn.watermarkInput = function watermarkInput(newProperties) { // Make sure that all settings have …

Member Avatar
+0 forum 0

I have this table that i have been modifiying and working with for some time now, its for displaying lots of data both condensed and expandle for each row but also searchable and sortable. Here is my problem, my table used to have perfect sorting and searching before i added the expandable and collapsable feature and now i can get my search or sort back. I have narrowed it down to a specific place that seems to mess my whole code up (note that i am using bootstrap and am not entirely familiar with nested tables) here is what i …

Member Avatar
+0 forum 0

//jsp $("#year1").change(function(){ var dataString = $(this).val(); $.ajax({ type: "POST", url:"Servlet", dataType: "json", data: { year :JSON.stringify(dataString) }, success: function(result) { console.log(result); $('#category1').multipleSelect({ filter: true, selectAll: false }); } }); return false; }); //servlet response.setContentType("text/html;charset=UTF-8"); PrintWriter out = response.getWriter(); String[] year = request.getParameterValues("year1"); //error //Hi now my code is based on the id year1 dropdown value, the category1 dropdownlist will appear, but i got null pointer at that line.

Member Avatar
+0 forum 0

HI Please help. how to solve this I am using the below code. insert is working fine. but i am having problem in edit session i edit page i can able to display both values from Database. If i am changing the textbox1 value i am not able to get the releated value in textbox2. **Test.php** <tr> <td>Connection Type</td> <td><input type='' name='conn_type' id='conn_type' onkeyup='AddToStack();' onChange='showptype(this.value)'></td> </tr> <tr> <td>Type</td> <td><div id='txtHint' name='ptype'></div></td> </tr> <script type="text/javascript"> function showptype(str1) { if (str1=="") { document.getElementById("txtHint").innerHTML=""; return; } if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code for …

Member Avatar
+0 forum 0

[www.unitedinblue.com](http://www.unitedinblue.com) There's a lot of JS and ajax and extra scripts and things (far as I can tell at a first look) on this website, some of which don't even seem to serve any purpose. If you look in the source (via Inspect Element, not actually viewing the page source, cuz of the ajax and crap -- if you try to reload the page, for example, you get a 404; the history is intact though), you'll see there's an extra menu as well, first thing in the body (ul.onepage-pagination) that's invisible, but I don't see any styles that should be …

Member Avatar
+0 forum 0

This was an existing script written in PHP and Jquery, basically, what it does is the calculations of price and quantity for a Point of sale system. I made a few changes so that the end-user can enter the price, as they enter the quantity amount. Now, after I made the changes, what happens is, supposedly, the price of commodity is $1000 and if I change it to let's say $1500, my quantity becomes 501 and the price becomes $1750. I have no idea, what's happening inside. Can anybody help me out with this? Thanks function add_row() { $('button[id^="product"]').click(function() { …

Member Avatar
+0 forum 0

The End.