back soft

مطالب مرتبط با «accessing data from json» در back soft | نویسنده: استخدام کار

By getting the ID from the database and retrieving the corresponding details

Vote count: 0 Im trying to get the Id from the user and result must display the Details from the particular row of ID.. im using PHP coected to android studio there is no errors in android studio but when i try to view the web address of the PHP code i get thsis NULL values. I want to display the data from my database {"result":[{"name":null,"useame":null,"email":null,"age":null,"password":null}]} here is my code of PHP: if($_SERVER['REQUEST_METHOD']=='GET'){ $id = $_GET['id']; $sql = "SELECT * ...

ادامه مطلب

Export data from Excel file to different format

Vote count: 0 I have a requirement where I need to export data from excel file to a specified format(xml, text or even excel).The problem is client can map any column and then want to export it to a specific format to make some kind of report. If he ticks cell E1 and D1 in form, he needs to be able to export all the values of E1 and D1 under the header of E1 and D1. Please suggest. Thanks Yogesh asked 11 secs agoYogesh Let's block ads!...

ادامه مطلب

JSONObjectWithData failing in Swift

Vote count: 0 I am using REST api's (from HERE maps) for various services. I am trying to parse JSON results. One works and the other doesn't. The first one is a direction service that will spit out a direction between 2 locations. This is the JSON output: {"results":[{"waypoints":[{"id":"1 Infinite Loop","lat":37.331998,"lng":-122.03078,"sequence":0,"estimatedArrival":null,"estimatedDeparture":"2016-10-19T09:30:00+01:00","fulfilledConstraints":[]},{"id":"Cypress Drive","lat":37.330196,"lng":-12...

ادامه مطلب

Strip inverted comma from data attributes

Vote count: 0 I have anchor functionality on one of my sites and in the Menu system i need the Link text to include an inverted comma which is playing havoc with my anchor linking mechanism (because i use the link text to generate the anchor data attribute) so i need to strip the inverted commas from the data attribute ideally with javascript on the fly. BESS'S MISSION asked 26 secs agoLee Woodman Let's block ads!...

ادامه مطلب

retrieve marker icon from marker data set

Vote count: 0 I'm making a website using Google Maps API v3. Markers are added into the map with attributes being taken from marker data Marker Data set var markerData = [ "lat": '21.0236081', "long": '105.789596', "icon": 'http://i.imgur.com/0Js6A7w.gif', "description": 'blah blah' ]; Pin marker onto map for (var i = 0; i < markerData.length; i++) { var data = markerData[i]; var myLatLng = new google.maps.LatLng(data.lat, data.long); var image = "'" + data.icon + "'"; var marker = new google.ma...

ادامه مطلب

How do I create a new dataframe using grouped output from another dataframe?

Vote count: 0 I have tick data containing symbols, bid prices, and ask prices. I was able to find the average spread and standard deviation of each symbol. I'd like to create a confidence interval for each symbol and have the final DataFrame output have the columns ticker symbol average spread lower bound 95% confidence upper bound 95% confidence How can I do that? This is how far I've been able to get: df = pd.read_csv('C:\Users\William\Desktop\tickdata.csv', dtype={'ticker': str, 'bidPrice': n...

ادامه مطلب

Image from database

Vote count: 0 I am using soap api in my project that api contains image url field. I stored that image url field in sqlite database.It has been storing in table . I am checking with net coection it is displaying image.while i am checking without inteet coection it is not displaying what would be the problem? I need it very urgently can anyone help me asked 3 mins agoneha Let's block ads!...

ادامه مطلب

Writing code to export from web service, clean up data, then import to another web service

Vote count: 0 I know this is probably going to be some complex coding, however it's the only option I am left with. Our retail store uses retail express for it's P.O.S system and although they claim on their site (http://retailexpress.com.au/addons-integrations/) they integrate with Adobe Business Catalyst, it has since become apparent that they do not. Now we're left with both services as BC won't give out a refund. What I'm instead looking to do is work out a way to use the export customers fe...

ادامه مطلب

HTTP: Type assertion from JSON object to Typescript class/interface

Vote count: 0 I've reading up on interfaces and type assertion. Been looking at pages like: I'm getting the hang of it, and it's pretty straightforward in understanding the basics. Though: Nowhere do I find how to type a JSON object to a object I use in my app, when HTTP is involved. For example, I have an Array of Teacher-objects. Each Teacher has an id, name and an Array of Students. I have another class Students that contain their attributes..... etc. Somewhere in those links I read that, unl...

ادامه مطلب

sum of columns no fetching from database

Vote count: 0 Here i want to get the sum of balance of selected customer_id.for example here the customer_id of 19 is having an sum of 120 but the result is not fetching. here is my controler public function make_payment() { $data['active_mn']=''; $data['active_mn']=''; $data['result']=$this->Account_model->view_order_id($code); $customer_id=$this->input->post('customer_id'); $data['details'] = $this->Account_model->order_details($customer_id)->row(); $this->load->view('make_payment',$data); } T...

ادامه مطلب

CodeIgniter 3 - Accessing data in a view from 2 db's

Vote count: 0 Apologies for my nebie like question but i'm trying to lea a lot here, new to MVC and CodeIgniter. I have a simple CRUD that i'm building, but i'm stumped on what I think is a very simple thing if you know what you are doing. I have a View that is being used to Update a Tyre to the db into a table 'tyres'. In that View I want to display a dropdown of Brands that are held in a seperate db table 'brands'. In my Model I have a class of Tyres and in that I have a function : public func...

ادامه مطلب

Responsive menu in asp.net data from database

Vote count: 0 how to add menu for asp.net Content management system application in responsive bootstrap ,menu data retrieve from database with menu order. asked 1 min agonataraj ragavan Let's block ads!...

ادامه مطلب

Pulling data from sheets

Vote count: 0 I have the following sheets: Sheet1 Code M P Z 11 14 13 6 19 14 17 1 12 7 Sheet 2 Code A B C 12 1 2 3 14 1 4 3 7 2 2 2 11 6 5 2 6 3 3 2 12 1 2 3 I want to get this table in sheet 1 Code M P Z 11 6 5 2 14 1 4 3 13 NA NA NA 6 3 3 2 19 NA NA NA 14 1 4 3 17 NA NA NA 1 NA NA NA 12 1 2 3 7 2 2 2 I want to move data from sheet 2 to sheet1 using only codes. Thank you for your help asked 1 min agouser1309 Let's block ads!...

ادامه مطلب

How to create image file in android from dataURL which is generated using JavaScript

Vote count: 0 How to create image file in android from dataURL which is generated using JavaScript data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEBLAEsAAD/2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBwYIDAoMDAsKCwsNDhIQDQ4RDgsLEBYQERMUFRUVDA8XGBYUGBIUFRT.......== asked 3 mins agosaikumar Let's block ads!...

ادامه مطلب

ReflectionTypeLoadException on Me.Adapter.Fill(dataTable) when upgraded from .Net Framework 3.5

Vote count: 0 Upgrading from Net Framework 3.5 to 4 or 4.5 or 4.6 , my code hangs on a trivial Me.Adapter.Fill(dataTable) statement. If I run my code on x86 Platform, code hangs without error. If I pause compile procedure I can find it blocked in this statement. But if I run it on x64 Platform stops in same code with a ReflectionTypeLoadException occurred Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information (Break on CLR enabled), but the...

ادامه مطلب

Retrive file name from database using HttpHandlers

Vote count: 0 I have database with EmpNo(Int) and EmpImage(Image) columns. I am using HttpHandler to display the Images. I am storing Images both in database and folder. Now I want to change the names of Images in folder as names of EmpNo whose I didn't change while uploading. So need to fetch the Images names from database to compare them with the Image names in the folder and rename them. How can i fetch or extract the image names from the binary data that i get from database using generic han...

ادامه مطلب

Create JSON from Dynamic form

Vote count: 0 I'm creating a dynamic form. Which has drag and drop feature. When Admin has completed the form creation,I have to save form details in Db. Fiddle link for Form Generation I don't know from where to start or how to traverse the form to save in json format. I was to save Json format like this var formDetails = [ { "type":"textbox", "label":"Please enter your name", "id":"txt-1465133974748" }, { "type":"select", "label":"Please Select Option", "id":"select-1865133974748", "fieldOptio...

ادامه مطلب

Grouping same date JSON data together Using java

Vote count: 0 I have created one json Object Using java and it's values are given below {"result":[{"ID":7252,"Age":52,"Date":"2015-11-25","DAY":"Wednesday","Gender":"M"},{"ID":7252,"Age":52,"Date":"2015-12-05","DAY":"Saturday","Gender":"M"},....],"status":"ok"} I need to group data as per date,required format is given below {"result":[ {"2015-11-25":[{"ID":7252,"Age":52,"Date":"2015-11-25","DAY":"Wednesday","Gender":"F"}{"ID":7252,"Age":52,"Date":"2015-11-25","DAY":"Wednesday","Gender":"M"}]},{...

ادامه مطلب

Retrieve most common element from database sql lite 3

Vote count: -2 EXAMPLE TABLE : location column : u202acity I want to retrieve the most repeated city from the city column using python and sqllite asked 48 secs agovitali Let's block ads!...

ادامه مطلب

js datatables.net delete row from table base on rowIdx

Vote count: 0 Hi I want to delete rows from table according to its rowidx but its not going on! I want to delete all rows with status 777 I writed the following js code for deleting the row refreshTableByName: function (table) { $(table).DataTable().rows().every(function (rowIdx, tableLoop, rowLoop) { var row = this.data(); if (typeof row.Status != 'undefined'){ if(row.Status == 777) $(table).DataTable().row(rowIdx).remove().draw(); } else { this.data(row).draw(); } }) }, what wog with that ? I ...

ادامه مطلب