Can I Send&Load Variables at the same time using php?

Hi
I have a php file that is using $_GET method to get the "id"
of an item and then a query will search the database and return the
results back. I am using the following code but there is something
wrong. Can anyone help me with this?
myVar = new LoadVars();
myVar.id = "1";
myVar.SendAndLoad("
http://localhost/sports/latest_news.php",myVar,"GET");
//<?php $out = "";
// $out .= "idn" . $i . "&" ;
// $out .= "titlen" . $row['sports_news_title'];
// echo $out;
//?>
myVar.idn
myVar.titlen
myVar.onLoad = function (success)
if (success)
for( var key in this )
//content is the variable name for the text object where the
output text will be displayed
content = this[key];
else
trace (" Error loading variables ");

thanks for the fast response.
Its working but i want to display more than one results and I
am using:
myVar.onLoad = function(success)
if (success)
for( var prop in this )
trace (prop + ". " + this[prop]);
//trace(this.idn);
//trace(this.titlen);
else
trace(" Error loading variables ");
when i run the above code i get:
apos;s World Cup campaignidn. 7
apos;s conversionidn. 2
titlen. Bath still sitting pretty
idn. 1
onLoad. [type Function]
id. 1
how can i choose which details to display?

Similar Messages

  • Can you play 2 songs at the same time using itunes?

    I would like to put music under my audio books and my question is "can you play 2 songs at the same time using itunes?"

    I am not aware of a way to play two songs at once in iTunes. However, at least on a Mac, you can definitely open and play multiple things in QuickTime player. Sooo, you could open a music file in QT Player then start it and start the audio book in iTunes. Or open the audio book in QT player and listen to that there while iTunes plays music.
    Patrick

  • CAN I SEND SEVERAL PDFs AT THE SAME TIME ?

    I NEED TO SEND ALL THE CHAPTERS OF A BOOK, WHICH ARE ALREADY  PDFs, AT THE SAME TIME. HOW CAN i DO THIS?

    I would suggest using a Cloud service such Dropbox , SugarSync, MyFlare, 4 Shared, One Drive. Create a Share Link and copy the link into an email.

  • I can't measure many signals at the same time using the DAQCard-AI-16XE-50.

    I'm using a Compaq Presario 1655 laptop with a DAQCard-AI-16XE-50 on the PCMCIA slot, and LabVIEW 6i and MAX 2.0.
    I have a SCXI-1001 Chassis with SCXI-1122 and its terminal block SCXI-1322 installed (I have others too).
    I'm trying to measure some signals at the same time, for instance, measuring 2 load cells signals, and a frequency of an indutive sensor (using the analog way with the "Extract Single Tone Information.vi").
    I realized that I can't measure at the same time my signals, neither the load cells - a 10608 error occurrs "NI-DAQ LV: No transfer in progress for the specified resource".
    What's the problem?
    Some DAQCard limitation? Configuration?
    Thanks!

    Hello;
    By your description I'm assuming you are trying to read those analog inputs in parallel. The SCXI-1122 doesn't have that feature. All the analog inputs will be multiplexed to one single Analog Input channel on your DAQ board. If you need to make measurements in parallel, you need to use one of the SCXI modules that allows that operation. For more information on what modules support that operation, you can always refer to our home page at www.ni.com.
    Hope this helps.
    Filipe
    Applications Engineer
    National Instruments

  • How can I unlock numerous files at the same time (i.e. photos) so I can make changes (rotate etc)?

    Im using Lion on a MacBook Pro 15in (just under two years old) and I would like to know if I can lock numerous photo files at the same time so I can make changes to them. At the moment when I select an entire folder to go through and make changes, ie rotate in Preview, I am told with each photo that I have to unlock it. I am going through photos I took of archival material and have nearly 5000 photos to adjust and make changes to. This small step is taking up a lot of time.
    I realise there will probably be a common 'sense' answer to this but it alludes me at the moment so any help would be appreciated.
    Thanks

    Try this: https://addons.mozilla.org/en-US/firefox/addon/fox-splitter/?src=ss
    OR, open a second Firefox window (''Firefox button > New tab > New Window'' or ''Ctrl+N''), load the second site, resize windows side by side.
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
    Not related to your question, but...
    You may need to update some plug-ins. Check your plug-ins and update as necessary:
    *Plug-in check --> http://www.mozilla.org/en-US/plugincheck/
    *Adobe Shockwave for Director Netscape plug-in: [https://support.mozilla.com/en-US/kb/Using%20the%20Shockwave%20plugin%20with%20Firefox#w_installing-shockwave Installing ('''''or Updating''''') the Shockwave plugin with Firefox]
    *'''''Adobe PDF Plug-In For Firefox and Netscape''''': [https://support.mozilla.com/en-US/kb/Using%20the%20Adobe%20Reader%20plugin%20with%20Firefox#w_installing-and-updating-adobe-reader Installing/Updating Adobe Reader in Firefox]
    *'''''Shockwave Flash''''' (Adobe Flash or Flash): [https://support.mozilla.com/en-US/kb/Managing%20the%20Flash%20plugin#w_updating-flash Updating Flash in Firefox]
    *Next Generation Java Plug-in for Mozilla browsers: [https://support.mozilla.com/en-US/kb/Using%20the%20Java%20plugin%20with%20Firefox#w_installing-or-updating-java Installing or Updating Java in Firefox]

  • I want to Connect my Mac Mini as a Slave to a Mac pro Server while at the same time using the Mac mini's thunderbolt ports peripherals ( ie monitor, Sound Card, Hard drives) Creating a poor man's new mac Pro. Can this be Done?

    I want to Connect my Mac Mini as a Slave to a Mac pro Server while at the same time using the Mac mini's thunderbolt ports peripherals ( ie monitor, Sound Card, Hard drives) Creating a poor man's new mac Pro. Can this be Done?

    Well, I really would love the new unreleased mac pro however , I'm not sure of the expected cost , Everyone speculates from $3,000 to $8,000, in which I may have to wait a while to purchase.
    To the point .... I want fully functional thunderbolt ports to be on the current mac pro's .... wonder if anyone had workarounds yet?...  or could I chain the the current mac pro to a mac mini to make that happen?

  • Can you opening multiple albums at the same time in Photo (not iPhoto)?

    When converting the iPhoto library to Photo most of the albums that were in place in iPhoto converted to albums in Photo . . . .but not all. Some were retained as events mainly those that were folders within an album. In order to move them to the right album I would like to have multiple albums open at the same time (side by side) so that I can make sure not to duplicate photos or move them to the wrong spot.
    I cant see how to do this, it seems that I can need to open one album and check phots and then close to look within and other and rely on memory. There must be a more efficient and accurate way to do this?

    All of the events in iPhoto were converted to albums and are located in the Folder titled iPhoto Event in the sidebar of Photos. 
    You can't open multiple albums at the same time.  You can create a smart album that will do essentially the same thing with the following criteria:
    Album is "A"
    Album is "B".
    The smart album will display all of the photos in those two albums.

  • In Elements 7.0, how can I delete multiple photos at the same time?

    In Adobe Photoshop Elements 7.0, how can I delete multiple photos at the same time?   Please be a little specific so I can follow your instructions as I'm not real smart at computers; I'm an intermediate user.  Thank you.

    Shift-click the photos or Ctrl-click them to select them, then right-click one of them and choose Delete from Catalog. They will all go together.

  • TS4020 I live in a house with multiple iCloud users.  When they try to turn on "Find my computer"  they get the message that they will have to disable my "find my computer" setting in order to enable theirs.  How can they all be enabled at the same time?

    I live in a house with multiple iCloud users.  When they try to turn on "Find my computer"  they get the message that they will have to disable my "find my computer" setting in order to enable theirs.  How can they all be enabled at the same time?

    Try this support document for information on how to contact Apple and account security. Apple ID: Contacting Apple for help with Apple ID account security

  • My Apple ID and rescue email are reversed. How can I change them both at the same time

    My Apple ID and rescue email are reversed. How can I change them both at the same time?

    I'd already used this standard tool (exhaustively!), but for the problem encountered it operated in Catch 22 mode - you had to do two things but neither order was permitted. I did find an answer eventually, but am not sure what it was I did that solved it! Thanks, anyway.

  • On I-Mac, how can I close all tabs at the same time?

    On I-Mac, how can I close all tabs at the same time?
    I use Mozilla Firefox for internet.

    Not an Apple product, have you visited:
    https://support.mozilla.org/en-US/kb/keyboard-shortcuts-perform-firefox-tasks-qu ickly

  • How can I visualize 2 documents at the same time

    How can I visualize 2 documents at the same time?
    thanks

    Adobe Reader on mobile devices allows to view ONE document at a time.

  • I'm trying to record audio into my iPad2 using GarageBand and an iRig, but I can't monitor my tracks at the same time as recording, meaning if I lay down a drum track and attempt to record guitar, I can't hear the drums while recording. Thoughts?

    I'm trying to record audio into my iPad2 using GarageBand and an iRig, but I can't monitor my tracks at the same time as recording, meaning if I lay down a drum track and attempt to record guitar, I can't hear the drums while recording. Thoughts?

    Hi, I have this exact same problem. I haven't been using an iRig, just a cheap USB-jack cable. I managed to do this with the first cable I bought, but since it broke I've been unable to find a replacement that allows me to hear the drums while recording. DId you manage to get over this issue? If so I would really like to know how. Thanks and best wishes.

  • IPVC-3511-MCU - Can't see all persions at the same time on conference

    Hello,
    I can't see all persion at the same time on conference. I also can't see seperate screen on LCD pannel or CVTA on PC.
    Does IPVC-3511-MCU support multiple conference with multiple video screen?
    Regards,
    John.

    Hi -
    This feature is called continuous presence - there are a number of references on Cisco's web site for the 3511. Here is one - http://www.cisco.com/en/US/customer/products/hw/video/ps1870/products_administration_guide_chapter09186a00804fc993.html and possibly another - http://www.cisco.com/en/US/customer/products/hw/video/ps1870/products_data_sheet0900aecd801c5e66.html
    You did not mention the release of the 3511 software you are running. Knowing that might help too.
    Ginger

  • Can two subVI show up at the same time?

    Can two subVI show up at the same time?

    Hi,
    Save the vi as a template (*.vit), then you can open it (dynamically) as
    often as you want. If you make the vi "floating", you get the best results.
    Regards,
    Wiebe.
    "smal" wrote in message
    news:[email protected]..
    > Hi,
    > What if the subvi has to be called dynamically (hence using call by
    > refrence node).
    > In fact I want to run a subvi each time a button is clicked
    > independent of the others(it gets just some parameters from the caller
    > vi & must continue running so the user can interact with it via its
    > front panel )
    >
    > Thanks for your attention in advance.

Maybe you are looking for

  • Result shown in Bex Report is different from Infocube

    In BI, Flat file loading, I got data correctly into the cube. But when I tried to generate the report its showing all the key figure values divided by 10. Keyfigures are of type Amount. And when I checked for scaling factors, its showing nothing 1 on

  • PO Line Item Delete

    Hi, we had created a PO for two items with 2pc each. then we deleted the line items and saved the PO. again we added same two items  2pc each. now when we see the print preview we are seeing the deleted items as well with the readded items. also at h

  • An error occurred in downloading iOS 7.0

    I have in my family 2 iPads, 1 iPad mini and 2 iPhones. All of the upgrades fail with the following error : "an error occurred in downloading iOS 7.0" Sometimes the download starts and then a few minutes later terminates in this error, most of the ti

  • Non-standard aspect ratio

    Currently, I am using iMovie '09 (version 8.0.6) and iMovie HD 6.0.4. With both programs, I failed to import a quicktime movie that has aspect ratio 0.83 (1030:1240) without getting a distorted output. (I did read the help and I also googled a lot, t

  • Scaling text on windows

    Both texts look absolut identical on Mac and Android but not on Windows. Why? <s:VGroup x="20" y="20" gap="20">         <s:RichText id="richText"                     fontSize="20"                     width="400"                     text="Both texts l