884 Topics

Member Avatar for
Member Avatar for meisjen

Hey guys, I was hoping to get a little insight on this issue. I recently signed up for Yahoo Boss v2, I'm not really experienced with PHP. I honestly would have used google's api but they are charging too much for the amount of searches I'll need for this project. …

Member Avatar for meisjen
0
362
Member Avatar for nash_p

We have a mobile game application created using j2me. This application need to communicate with an asp.net wcf service to send/receive data in json format. I have created the service and uploaded on to server. The url is somewhat [url]http://xyz.com/TheService.svc[/url]. This service provides some methods for example - int add(int …

0
125
Member Avatar for bspace

The following request isn't retrieving a response when I look for it in Firebug. Any ideas why? [CODE]$function(){ //json request to flickr $.getJSON('http://api.flickr.com/services/rest/?&method=flickr.photosets.getPhotos&api_key=71282ef5623d61a898f798c7916bed31&photoset_id=72157627882181032&format=json&jsoncallback=?'), });[/CODE]

Member Avatar for Airshow
0
96
Member Avatar for ddombadoh

I am quit new in jquery. I have implemented the jquery autocomplete textbox, where I load data from SQL server. Upon selecting an item from the dropdown, I fill some controls on the form. I also want to change the text property of a button. Below is my jquery code: …

Member Avatar for nakor77
0
99
Member Avatar for JamesPublic

Hi all, I'm trying to insert an array (which I've decoded from a JSON object) into a mysql database (for the first time!) and keep coming back with a "Could not connect - Column count doesn't match value count at row 1" error message. My server and database connections are …

Member Avatar for JamesPublic
0
314
Member Avatar for neovantage

Hello, I am using fancy upload in my application. I easily integrate fancyupload in my page as per advised in the fancyupload website. When i get response after uploading the file on server, i want to append the filename of uploaded file in multiple selectboxes in my page. I found …

Member Avatar for diafol
0
660
Member Avatar for martindeveloper

Hello. I have simple question. How can I access to ListBox in other thread and add items? I have situation : Download JSON data by WebClient and add handler to event DownloadStringCompleted. From DownloadStringCompletedEventArgs I get the JSON respond and by JObject.Parse() (Newtonsoft.Json.Linq) create a object. From that object I …

0
43
Member Avatar for h3rb

hi all, i have a problem with multiline json file that i wish to insert into an sql db. my problem arose as i went from one data set to two in the JSON file. the one data set was sucked from the json file to the sql db via …

Member Avatar for cereal
0
237
Member Avatar for pritesh2010

hi can any one tell me how to call webservice through json query here is my code. i want pass two variable and i want to get the result of that methos say Add methos of following service. for webservice [CODE] using System; using System.Collections.Generic; using System.Linq; using System.Web; using …

Member Avatar for nakor77
0
148
Member Avatar for scrivomcdivo

Hey folks. I currently have a large JSON file made up of entries similar to the below. The file contains information relating to photographs:- [CODE]{ "SourceFile": "C:/Users/Me/Desktop/Photos/5294030805_9497032cd7_o.jpg", "ExifToolVersion": 8.63, "FileName": "5294030805_9497032cd7_o.jpg", "Directory": "C:/Users/Me/Desktop/Photos", "FileSize": "1094 kB", "FileModifyDate": "2011:09:09 22:40:39+01:00", "FilePermissions": "rw-rw-rw-", "FileType": "JPEG", "MIMEType": "image/jpeg", "JFIFVersion": 1.01, "ExifByteOrder": "Big-endian (Motorola, …

Member Avatar for Momerath
0
273
Member Avatar for Aties

sir i have one json i want deserlize this json how will i do iam try out but "Type 'System.String' is not supported for deserialization of an array." error coming here is my code : in cs file [code] using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using …

Member Avatar for Aties
0
1K
Member Avatar for Aties

how to deserilize json in asp.net i will get this type of data when i use HttpWebRequest [code=text] [{"id":23,"name":"Video Clips"},{"id":15,"name":"Deleted Scenes"},{"id":9,"name":"Music Albums"},{"id":7,"name":"Trailers"},{"id":18,"name":"Short Films"},{"id":21,"name":"Movie Clips"},{"id":1,"name":"Movies "},{"id":4,"name":"Plays"},{"id":22,"name":"Scenes"},{"id":2,"name":"TV Show"},{"id":5,"name":"Kids"},{"id":16,"name":"Interviews"},{"id":11,"name":"Film Songs"},{"id":14,"name":"Making of Movie"}] [/code] now i want deserilize this in asp.net(c#) please friends help me out

Member Avatar for kvprajapati
0
88
Member Avatar for blotind

Hi I get my data posted from another form.html page i receive it just fine and decode the json just fine, and the validation works just fine, the only problem is the part where i have to insert the values into the database.. any suggestions.. [CODE] <!DOCTYPE html> <html> <head> …

Member Avatar for mwasif
0
123
Member Avatar for Cranial Fool

Hi all, A developer has provided me with some scripts that display clusters of markers and info windows on a Google Map (v3 API). The markers side of things works well but there is a problem with the info windows. Unfortunately I didn't notice until after I paid him and …

Member Avatar for Airshow
0
216
Member Avatar for Cap'nKirk

Hi, a bit of a long title to this thread, I know, just trying to make it obvious. lol Anyhow, I am building a Twitter widget for my own website and have got really stuck on one aspect of it, namely the 'source' i.e. which application the 'user' used to …

Member Avatar for Cap'nKirk
0
179
Member Avatar for ionko

I'm trying to make a price calculator for my friend's car shipping company. It seemed like a simple thing to do but with my skills I'm having some problems. The calculator takes the distance from zipcode 1 to zipcode 2, and mutplies the total miles by .32 to get the …

Member Avatar for ionko
0
253
Member Avatar for nschessnerd

Hey, I have some background with db creation and have done lot's of work creating and programming with RDBs. I am currently working on a huge website and I am curious about cost/benifits of using a json array vs a relational table. My gut says I should be using a …

Member Avatar for debasisdas
0
110
Member Avatar for blotind

Hi all the problem lies with the createJSON function for some reason it is breaking no idea why though. please advise... [CODE]<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link href="style.css" rel="stylesheet" type="text/css"> <title>User Details</title> <script type="text/javascript"> function validateForm(){ var x=document.forms["myForm"]["username"].value if (x==null || x=="") { alert("username must be filled …

Member Avatar for ddymacek
0
137
Member Avatar for 4789787

This is code for an internal forum, it works on my local server, but not the godaddy one i just purchased! phpinfo()s posted below: [CODE]<?php // forum.php :: Foro interno del juego.Version 1.0 define('INSIDE' , true); define('INSTALL' , false); require_once dirname(__FILE__) .'/common.php'; /* Este foro esta basado en el PHPBBs …

Member Avatar for chrishea
0
4K
Member Avatar for JoshuaBurleson

I got this snippet out of my text book but it's giving me a type error, I'll just give you the whole code, tell me if you get it too, if you would. [CODE]import urllib.request import math whips=int(0) rate=float(4) while rate <= float(20): improve= rate*float(.15)+rate rate= improve whips=whips+1 print(whips) def …

Member Avatar for JoshuaBurleson
0
319
Member Avatar for feedz87

- I have the problem where my update is not not working.Anybody can help me... FORM <code> <?php session_start(); include ("../entity/login_class.php"); include ("../entity/admin_class.php"); include ("../entity/customer_class.php"); $Customers = new Customer(); $id = $Customers-> getCargoID(); $Customers ->getCargo($_GET['id']); $id = $Customers->getCargoID(); $cargoCode = $Customers->getCargoCode(); $cargoDesc = $Customers->getCargoDesc(); ?> <form method="post" name="updateCustomer" id="updateCustomer" action="../controller/customer_control.php" …

0
59
Member Avatar for mayankbha

Hello , I have created a page where user can uplaod a file and the file is upload in a folder. Also there are two divs. In first div user can see the file he uploaded and also can delete it. In second div the user can drag file from …

0
69
Member Avatar for Ichcha

i need help in adding $data into datatable data.setvalue where will be used to generate column chart. first column = x-axis while the rest of the columns = elements. thanks in advance. [CODE] <?php $result=mssql_fetch_array($row); // $result already in correct structure. $data = json_encode($result); ?> <html> <head> <script type="text/javascript" src="https://www.google.com/jsapi"></script> …

0
81
Member Avatar for sdwinanta

I am newbie in Python and given a task from my boss to do this : 1. Grab streaming(real time) data from twitter using PyCurl connection and output in JSON 2. Parsing using NLTK and Regular Expression 3. Save it to database file(MySQL) Note : i took the data from …

Member Avatar for TrustyTony
0
156
Member Avatar for MrCapuchino

Hello, I cannot find the problem with my code to be able to populate a dropdownlist based upon a previous dropdownlist selection. Here is all the necessary code HTML [CODE] <div class="control"> <asp:DropDownList ID="ddlEstado" CssClass="ui-state-default ui-corner-all filterDropDown" runat="server" DataSourceID="sdsEstadoDDL" DataTextField="nombre" DataValueField="nombre"> </asp:DropDownList> <asp:SqlDataSource ID="sdsEstadoDDL" runat="server" ConnectionString="<%$ ConnectionStrings:QMPConnectionString %>" SelectCommand="EXEC Catalogs.sp_ObtenerEstado"></asp:SqlDataSource> …

Member Avatar for MrCapuchino
0
152
Member Avatar for jazz_vill

I'm trying to populate our database using some curl command like curl --user username:password [url]https://somewebsite.com[/url] curl - d "name=New User Name&address=New User Address" [url]https://somewebsite.com/api/add/new[/url] The instructions that they gave to me uses curl but I want to do it in Java so I decided to use HttpClient here's my code …

Member Avatar for jazz_vill
0
270
Member Avatar for danarashad

I am having a weird issue. I am using cfautosuggest, when I type child into the search box the cfc should return "Other Minor Child in Custody,Grandchild, Great Grandchild", but it doesn't. The weird part is when the query runs I do a dump in the cfc and it does …

Member Avatar for arrgh
0
153
Member Avatar for Aesculapius

Scenario: Web Service needed to calculate values and send results back as json. These calls are to be made cross-domain so I'm using jsonp. The problem I'm having occurs both on the same domain and cross-domain. Problem: I'm having an issue getting back json data from a WCF Service. While …

0
73
Member Avatar for Mujahid158

Hello, I'm using Google Maps to show houses listings on the Google map. I'm also using AJAX to allow user to customize search parameters. Map is showing fine but the houses listings on the map is not working. Moreover, I'm getting the following pop up error; [url]http://imageshack.us/photo/my-images/857/screenshotpll.png/[/url] I'm also sharing …

Member Avatar for pritaeas
0
221
Member Avatar for IWDesigns

hi, just a quikkie.... i have an idea to build one of my sites as a facebook app...not just a basic app but i want the site to be run solely through facebook like a farmville or mafia app works. i have a complete site already built, is it possible …

Member Avatar for ko ko
0
67
Member Avatar for mark22

I have almost given up but thought I would post here in a last attempt. I am pretty new to jquery and I am having an issue. I need to use the same carousel with three different json queries on the same page. I tried putting them in divs with …

0
114
Member Avatar for sithembisophp

Hi, I'm trying JSON for the first time and I have a php file that returns this: [CODE] [{"userID":"39160902151","content":"I really can't wait to get this thing done :-)","published":"2011-06-07 10:33:35"}] [/CODE]. What do I do if I want to display only the userID from this data using javascript. I load this …

Member Avatar for twiss
0
94
Member Avatar for ispeakbinary

[CODE] <script type="text/javascript" src="js/jquery-1.3.2.js"></script> <script type="text/javascript" src="js/jquery-1.3.2-vsdoc.js"></script> <script type="text/javascript"> $(function() { $("#Button1").click(function() { $.getJSON("ticketPriceInArray.js", function(json) { var ticketPriceArray=[json.tickets[0].price, json.tickets[1].price, json.tickets[2].price, json.tickets[3].price, json.tickets[4].price, json.tickets[5].price]; alert(json.tickets[0].type); var inputWord =$("#keyword").val(); if (inputWord=="A"){$("#result").text(ticketPriceArray[0]);} if (inputWord=="B"){$("#result").text(ticketPriceArray[1]);} if (inputWord=="C"){$("#result").text(ticketPriceArray[2]);} if (inputWord=="D"){$("#result").text(ticketPriceArray[3]);} if (inputWord=="E"){$("#result").text(ticketPriceArray[4]);} if (inputWord=="F"){$("#result").text(ticketPriceArray[5]);} }); }); }); </script> [/CODE] Here is "ticketPriceInArray.js" [CODE] { "tickets":[ …

Member Avatar for twiss
0
179
Member Avatar for gloosemo

I'm trying to make an AJAX request to my localhost server. Here is the code for the page that is requested, ajaxresponsecontent.php. The content is queried from a MySQL database then encoded into JSON using PHP. [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" …

0
57
Member Avatar for ttchiwandire

Hie good friends! I have got a Jsp form for creating a database record for students. The form has got a drop down box for Countries, but the countries are too many that a user may spend a lot of time scrolling to locate his/her country. The drop down is …

0
52
Member Avatar for cutexxbaby

hi i am doing a project now i going to use ajax to retrieve coordinate from the json in html and pin the coordinate onto a point on the map using javascript but the problem is i am only able to use one point on the map can tell me …

Member Avatar for Airshow
0
192
Member Avatar for hisan

Hello All, Ii want to know how can i check whether the response from the server is inJSON format or XML format . Please let me know how to do this,

Member Avatar for sneekula
0
350
Member Avatar for praveen_dusari

hi all, i am using json and codeigniter for a project which it has 2 language preferences..english and french...my problem is.. in json number field has to accept (,) instead of (.) in french language can any one guide me on this... thanks, Praveen

Member Avatar for twiss
0
84
Member Avatar for elneco

Forums, I've been trying to get the ASP version of this widget to work but have had no luck: [url]http://www.radoslavdimov.com/jquery-plugins/jquery-plugin-digiclock/[/url] I need help with this urgently and am willing to reimburse anyone that can help me figure this out. Thanks in advance! -jaime

0
73
Member Avatar for phaedrusGhost

Hi all, I am trying to work with Songkicks API to display the bands events from a list on my web page. I've queried the artists names and now want to get specific data from this link http://api.songkick.com/api/3.0/search/artists.json?query={$songkick_artist}&apikey=MYKEYGOESHERE\ The output get this result: {"resultsPage":{"results":{"artist":[{"uri":"[COLOR="Green"]http:\/\/www.songkick.com\/artists\/200900-coheed-and-cambria?utm_source=4361&utm_medium=partner[/COLOR]","displayName":"Coheed and Cambria","id":200900,"onTourUntil":"2011-09-23","identifier":[{"href":"http:\/\/api.songkick.com\/api\/3.0\/artists\/mbid:ae1b47d5-5128-431c-9d30-e08fd90e0767.json","eventsHref":"http:\/\/api.songkick.com\/api\/3.0\/artists\/mbid:ae1b47d5-5128-431c-9d30-e08fd90e0767\/calendar.json","mbid":"ae1b47d5-5128-431c-9d30-e08fd90e0767","setlistsHref":"http:\/\/api.songkick.com\/api\/3.0\/artists\/mbid:ae1b47d5-5128-431c-9d30-e08fd90e0767\/setlists.json"}]},{"uri":"http:\/\/www.songkick.com\/artists\/2060710-coheed-and-amp-cambria?utm_source=4361&utm_medium=partner","displayName":"Coheed &amp; Cambria","id":2060710,"onTourUntil":null,"identifier":[]},{"uri":"http:\/\/www.songkick.com\/artists\/3236471-coheed-und-cambria?utm_source=4361&utm_medium=partner","displayName":"Coheed Und Cambria","id":3236471,"onTourUntil":null,"identifier":[]}]},"totalEntries":3,"perPage":50,"page":1,"status":"ok"}} …

Member Avatar for phaedrusGhost
0
155
Member Avatar for sampa420

Hi developers, I develop a feature to recover the password for the user, but I'm having trouble to retrieving the value of json. The problem is....on success the IF condition always run the else I am pasting my code and if someone can help me. My engine JS [CODE]$("#mailResetUsrPass").click(function () …

0
79
Member Avatar for FlyByNight73

Hi Everyone, I am currently working on a site that will have lots of European and Middle-Eastern town names that include accented and other special characters. I have never had to deal with these characters before and I foolishly assumed that setting everything to utf-8 would take care of it …

Member Avatar for arrgh
0
625
Member Avatar for PotaZinga

Hi there please help i want to consume a json web servvices with classic asp . i am still very new at web services a simple detailed sample code should do. thanx in advance...

Member Avatar for PotaZinga
0
99
Member Avatar for McLaren

Hi, I want to get such data using AJAX from PHP. With php I generate data this way: [CODE=php] $return['credits'] = $credits; $return['banners'] = $this->generate_banners($user->id); echo json_encode($return); [/CODE] generate_banners: [CODE=php] function generate_banners($user_id) { $html = ''; $query = $this->db->where('user_id',$user_id)->select('filename')->get('jos_reklama_banners'); if($query->num_rows() > 0) { foreach($query->row() as $filename) { $html .= '<div …

Member Avatar for McLaren
0
764
Member Avatar for persianprez

So, basically I'm trying to fetch part of a json feed and output just that. Example, theres a bunch of posts, comments, and an image on the post. I want to only fetch the image. I've started out with [CODE] document.getElementById('url').innerHTML= url.value; r=function(data) {url=data['results'];};[/CODE] html [CODE]<script type="text/javascript" src="http://www.com/search.json?q=word&callback=r"></script> <style type="text/css" …

Member Avatar for Pnorq
0
68
Member Avatar for jlivvers

Hi, I have inherited a project from a colleague and have an intersting problem. The project attempts to deserialize a type 'Client' into a new 'Client'. [CODE] Client mainClient = null; using ( stream = File.Open(resourceFilePath, FileMode.Open)) { BinaryFormatter bin = new BinaryFormatter(); mainClient = (Client)bin.Deserialize(stream); } [/CODE] this throws …

Member Avatar for kvprajapati
0
128
Member Avatar for shainjetly

hey everyone, first i will show u my code pages. addcart.php [CODE] <?php require_once("../Connection/connection.php"); if(!$_POST['img']) die("There is no such product!"); $img=mysql_real_escape_string(end(explode('/',$_POST['img']))); $q_result=mysql_query("SELECT * FROM tbl_items WHERE item_photo='".$img."'"); $row=mysql_fetch_assoc($q_result); $period = $_POST['period']; $count = $_POST['count']; $query_search1 =("SELECT * FROM `tbl_rates` WHERE `rental_period` = 'Daily' AND `units` = '10' AND `category_id` = …

Member Avatar for Taywin
0
260
Member Avatar for lifeworks

Hi Im processiing a json response [code] link_cart.setAttribute('id',bits[i].product_id); link_cart.onclick = function(){ add_to_cart(bits[i].product_id); } [/code] In the first line, the product_id value is correct, the json is a list of products, but it doesn't behave strangely, But the second reference in the onclick handler, displays a value of 22, which is …

Member Avatar for lifeworks
0
132
Member Avatar for Geofft

I'm using IE8 and keep getting pages come up with the little warning sign bottom left corner and usually the message error on page. Double clicking the message gets a message box saying 'Errors on this webpage might cause it to work incorrectly' which often proves correct. The most common …

Member Avatar for Techi
0
146
Member Avatar for chrisglasier

I have made a couple of preliminary versions of a web machine as an HTA and as a web dialog plug in for Google's Sketchup. The machine has moving sliders (hence machine) that get populated with names of real objects in a hierarchical structure set by the user's associations e.g. …

Member Avatar for chrisglasier
0
254

The End.