How to add php in BB10

I need to develop a project, which extracts data from database and sends the data to the server, I want to do it using PHP. Could someone help me how it develop to BB10?

What you want to do, is make a PHP echo on your database, files on a Web site online. Have your app BB10 extract data using AJAX.

Return the changed data in an another PHP file that accepts the POSITION and have it post updates to your database.

https://www.Google.ca/search?q=AJAX+to+PHP+&OQ=AJAX+to+PHP

Tags: BlackBerry Developers

Similar Questions

  • How to add dynamic content to a .php model Dreamweaver

    OS: Windows 7

    DW Version: CS5

    PHP: XAMP Local Server

    I hope someone can help.  I created a Dreamweaver template for .php and created 5 pages of child of this model.  Everything is in working order as that is concerned.  Here's my problem:

    I want to add some dynamic data (categories) of a MySQL database to a non editable master section so that it flows to the pages of 5 children.  I can create a connection to the database without problem, but when I go to insert a recordset object in the model, it asks me to put in place the "site", the "document type" and the "test server" what I have done.  I'm sure it's because it's in watching the .dwt file type and saying that she should be a dynamic document such as .php.  I tried to go through these steps, but then it ends just rename my .php .dwt file and then it is no longer a model. I don't know why I can't add dynamic data to a dreamweaver template.  It seems that it should be a no-brainer, but it just isn't working for me.  In my research, I find the following

    http://help.Adobe.com/en_US/Dreamweaver/10.0_Extending/WS5b3ccc516d4fbf351e63e3d117f53d610 8 - 7fdb.html

    but wasn't completely sure how to apply it or if it involved only CS4 since I'm using CS5.  To be honest, it confused me more that it has helped.

    I really hope that there is a simple and logical solution to this issue because I have spent a lot of time to search for/test this.

    Any help/direction is greatly appreciated.  I don't want someone to just solve my problem and I'm willing to dig deep to learn, I just don't know where to go from here.

    Thanks again in advance for your help.

    Rename your yourtemplate.dwt.php model file.

    In other words, simply add .php at the end of your template file leaving the .dwt there.

    Brad Lawryk

    Adobe Professional Community: Dreamweaver

    The Northern British Columbia Adobe user group: Manager

    Thompson Rivers University: Dreamweaver instructor

    My Blog from Adobe: http://blog.lawryk.com

  • PHP: How to add integers only from strings sorted

    Hello

    I thought a lot about how it, but not have made any progress in my efforts.

    I have a few strings to form that are displayed in the variables when a form is submitted:

    String 1 = "Mark (2)"

    String2 = "Chris (5).

    String 3 = "Mark (5).

    Channel 4 = 'Angie (5).

    String 5 = "Chris (1).

    A shape is I want all integers to add for each person.

    So my final result:

    Brand = 7

    Chris = 6

    Angie = 5

    I don't know how to use php to add only integers of the variables that have the same names in them.

    Any suggestions?

    Chris

    It is essentially the construction of a database table that is structured as follows (the name is the key, score is the value):

    Table)

    [Mike]-online 1.

    [Chris]-online 8.

    [Mark]-online 9

    )

    As he travels the elements of the parsed string, it first checks if there is already an entry for the name if found. If this isn't the case, it creates one. If there is already an entry corresponding to the name, it adds the new score to what is already there.

    Here is another example of script where I removed the second function, that I used for the test output, and instead, it sends the results to variables. If it finds a key in the table corresponding to the name (it is case sensitive), and then it retrieves the score, otherwise he attributes a score of 0. I also added in the lines of comments explaining what is happening. If you need something explained, just post back. Here's the updated code:

    <>

    function to parse strings of name/stat

    function parseNameStats ($string, & $stats)

    {

    separate the string into groups, separated by commas

    $sets = explode (",", $string);

    Browse the main groups

    foreach ($sets as $subject)

    {

    divide the substring of parenthesis to separate the name of partition

    $temp = explode ('(', $subject);

    If (count ($temp) == 2)

    {

    first part must be a name, so trim whitespace

    $name = trim($temp[0]);

    second part is score, so create stat entry to add to the existing

    $int = (integer) trim($temp[1]);

    If ($name & $int)

    {

    If (! array_key_exists ($name, $stats)) $stats [$name] = $int;

    else $stats [$name] = $int;

    }

    }

    }

    }

    do it for her

    $stats = array();

    parseNameStats ('Mike (1), Chris (2), Mark (5)', $stats);

    parseNameStats ('Chris (5)', $stats);

    parseNameStats ('Chris (1), 4 ', $stats);

    assign scores to variables

    $mikeScore = (array_key_exists ('Mike', $stats))? $stats ['Mike']: 0;

    $markScore = (array_key_exists ('Brand', $stats))? $stats ['brand']: 0;

    $chrisScore = (array_key_exists ('Chris', $stats))? $stats ["Chris"]: 0;

    output test

    print ("Mike: '.") $mikeScore.', Mark: '. $markScore.', Chris: '. $chrisScore);

    ?>

  • How to add TITLES staged using Windows DVD Maker?

    There are many instructions on how to burn a DVD. The problem is my scenes appear with no title and I want to add a little. What are the specific steps to take to achieve this? Or is it simply not possible in this program?

    John, thank you for your 3 links above. Unfortunately, they are essentially the same, but worse yet, none of them address in any way, how to add titles to the scene. Yes, there are instructions on how to rename the BUTTON SCENES, but it's not what interests me in practice. I want to quote the SCENES themselves that appear when I click the scenes button.

    Is it still possible? (My guess is that it is not.) It's very frustrating, because it is a fairly basic need.

    I burned three videos on one DVD - each with very subtle differences.  Now each of them appears in the area of scenes from the DVD as a kind of "film reel icon" with no title/label associated with each, so they look identical, leaving me to guess who is who. Let me label them so that I don't have to click on each one and shows him through know exactly that one I selected in the menu scenes.

    ==========================================
    Sorry for wasting your time.

    It might be worth a try to publish (save) each video clip as a
    video file .wmv separate in Movie Maker... each with she is has a unique
    ... the name of file, then import the saved clips collection in
    Creation of DVD.

    And... the following freeware might be worth a try:

    (FWIW) It's always a good idea to create a system
    Restore point before installing software or updates)

    DVD Flick
    http://www.dvdflick.NET/

    Be sure to read the Guide:
    http://www.dvdflick.NET/Guide.php

    If you have problems to download DVD Flick...
    Try the following direct link:
    http://tinyurl.com/yzx9sck
    or...
    http://downloads.sourceforge.NET/project/dvdflick/dvdflick/DVD%20Flick%201.3.0.7/dvdflick_setup_1.3.0.7.exe?use_mirror=SoftLayer

    Save the file to a folder on your hard drive and
    install from there.

    Tutorials:

    Tutorial DVD Flick
    http://beginwithsoftware.com/videoguides/DVD-flick-Guide.html

    Burn any Format video DVD PC
    http://www.freevideoworkshop.com/dvdflicktutorial.htm

    To create a video DVD base that should play in a free
    permanent drive DVD... try the following...

    First... read the DVD Flick Guide to familiarize
    with the program.

    Open DVD Flick and insert a blank DVD in your drive.

    If the window of Autorun from your computer... just close it.

    Click the project settings button and check... Video /.
    Target format... residents United States... Choose... NTSC /.
    Accept.

    The title button left click Add and navigate to your
    Video clips and select the ones you want on the DVD.

    You can have by selecting one and then use
    the up and down buttons.

    Left click on the button create DVD / OK / Yes / Yes.

    Please wait while the DVD is created.

    When the text "Completed successfully" is displayed you
    DVD Flick can close. Now you can eject your DVD
    and play in your DVD player.

    At some point you might want to buy more
    Advanced Cyberlink, Nero, Roxio, software
    Ulead, etc... but at least it is a start.

    Good luck.

    John Inzer - MS - MVP - Digital Media Experience - Notice_This is not tech support_I'm volunteer - Solutions that work for me may not work for you - * proceed at your own risk *.

  • How to add a shortcut in the taskbar next to the Start Menu?

    I would like to know how to add a shortcut in the taskbar next to the Start Menu (a place with a small shortcut icon).

    Does anyone have any suggestions?
    Thanks in advance for your suggestions

    Hello

    Have a look here: http://www.sevenforums.com/tutorials/397-taskbar-pin-unpin-program.html

    When you scroll down on this page, you will find a lot more "pin to taskbar" - tutorials.

    Take a look at this little program free of practical assistance, too: http://winaero.com/comment.php?comment.news.108 of the taskbar Pinner

    I hope this helps.

  • How to add an extra session variable to authenticate the connection

    Hello

    IM totally new to php and dreamweaver develop a web application that uses the user name and password to authenticate the connection, and works very well. My question is, how do I add an extra session variable to capture another field in the users table for example type to redirect some pages based on the value of the type?

    If you're completely new to Dreamweaver and PHP, it sounds as if you're using Dreamweaver server behaviors. Take a friendly piece of advice and stop using the server now behaviors. They have been removed from Dreamweaver CC a couple of years because they use functions that had to be stripped on the next version of PHP. This version (PHP 7) was released in November. If you rely on Dreamweaver server behaviors, you are living on borrowed time. For a person to debut, it makes no sense to learn how to use a dead technology. The server behaviors work only in PHP 5. As soon as your server is upgraded to 7 PHP, you will have to start all over again. To understand the problem, see the following page in the PHP online documentation: PHP: Introduction - manual.

    If you want Dreamweaver to generate the code for you, you will need to use (paid-for) third-party extensions, such as those created by DMXZone or WebAssist. You can also learn how to write PHP code yourself. It is not as difficult as it sounds.

    To create a variable session, just to assign a value to an element in the superglobal array $_SESSION:

    $_SESSION ["$myvariable"] = "value";

    Session variables are available only on the pages that begin with session_start().

  • How to add a custom 11.1.1.6 OID attribute?

    I'm new to OID and am having some problems with the addition of a custom attribute, specifically with the required field called "ID of the object. How can I find what should be placed? A preview of all this is greatly appreciated.

    Thank you!

    Anthony

    Hello

    You can use the following link http://onlineappsdba.com/index.php/2010/12/14/how-to-add-custom-attributes-object-classes-in-oid-from-command-line-or-gui/

    The object ID must be unique. You can take all the attributes OOTB and increment the ID of the object so that its unique and you can use it.

    ~ J

  • How to add the menu, under menu, forms and functions function and sub in resp.

    Can someone please provide me or direct me to the documentation, resources or the tuitorials "How to add menu, submenu and forms, function and functions in responsibility within the HRMS to the front end, not the example of back-end sub function responsibilities.»

    Appreciate your help.

    Published by: 931161 on December 14, 2012 10:55

    Hello

    PL. visit following links.

    http://erpschools.com/articles/sub-functions-in-Oracle-application#13554535205441&95816:resize_frame
    http://www.trutek.com/Serendipity/index.php?/archives/15-an-example-of-how-to-create-custom-functions, - the Menus - and - Responsibilities.html
    http://www.YouTube.com/watch?v=PKUiVIM0t94

    HTH
    Sanjay

  • Partitioning table in oracle 10g - how to add

    Hello friends,

    I hope you are all fine and great.

    In fact - I have a small question on oracle 10g partitioning of tables...


    I have a table with the partition below...

    CREATE TABLE X_ACC_ASSETS_GPC_AGG
    (
    X_ACC_ASSETS_GPC_AGG_RK NUMBER (10) NOT NULL,
    X_AS_OF_DT DATE NOT NULL,
    ACCOUNT_RK NUMBER (10) NOT NULL,
    X_UNIV_ACCOUNT_ID NUMBER (10),
    ACCOUNT_ID VARCHAR2 (10 BYTE),
    X_ASSET_TYPE_CD VARCHAR2 (6 BYTE),
    X_AUC_AMT NUMBER (18.5).
    X_FIRM_AMT NUMBER (18.5).
    X_ADJ_SRCE_AMT NUMBER (18.5).
    DATE OF PROCESSED_DTTM
    ) PARTITION BY RANGE (X_AS_OF_DT)
    (
    P200712 PARTITION VALUES LESS THAN (TO_DATE (' 2008-01-01 00:00:00 ',' SYYYY-MM-DD HH24:MI:SS ',' NLS_CALENDAR = GREGORIAN '))
    NOLOGGING
    NOCOMPRESS
    TABLESPACE KAW_DATA
    PCTFREE 10
    INITRANS 1
    MAXTRANS 255
    STORAGE)
    64K INITIALS
    MINEXTENTS 1
    MAXEXTENTS 2147483645
    DEFAULT USER_TABLES
    ),
    .
    .
    .
    .


    P201112 PARTITION
    NOLOGGING
    NOCOMPRESS
    TABLESPACE KAW_DATA
    PCTFREE 10
    INITRANS 2
    MAXTRANS 255
    STORAGE)
    64K INITIALS
    MINEXTENTS 1
    MAXEXTENTS 2147483645
    DEFAULT USER_TABLES
    ),
    PARTITION PMAX
    NOLOGGING
    NOCOMPRESS
    TABLESPACE KAW_DATA
    PCTFREE 10
    INITRANS 2
    MAXTRANS 255
    STORAGE)
    64K INITIALS
    MINEXTENTS 1
    MAXEXTENTS 2147483645
    DEFAULT USER_TABLES
    )
    ) NOPARALLEL;







    My question is:
    (1) how to add a partition to say P201201...
    Since I already said PARTITION PMAX can I still add partition?
    (2) can I add a partition even if the table contains data?


    ==========================
    I tried to add the partition... say

    ALTER TABLE X_ACC ADD PARTITION P201201 THE VALUES BELOW TO
    (TO_DATE (' 2012-01-01 00:00:00 ',' SYYYY-MM-DD HH24:MI:SS ',' NLS_CALENDAR = GREGORIAN '))
    NOLOGGING
    NOCOMPRESS
    TABLESPACE KAW_DATA
    PCTFREE 10
    INITRANS 1
    MAXTRANS 255
    STORAGE)
    64K INITIALS
    MINEXTENTS 1
    MAXEXTENTS 2147483645
    DEFAULT USER_TABLES
    )



    but the error...
    "linked partition must gather greater than that of the last partition.



    Thank you/kumar

    Yes. With the help of DBMS_REDEFENITION, you can partition an existing table. Visit this link on how to do it.

    http://www.Oracle-base.com/articles/Misc/PartitioningAnExistingTable.php

  • How to add contacts to my Apple Watch?

    Can someone explain how to add contacts to my Apple Watch 2, watch OS 3

    Hello

    Apple Watch is not a Contacts application and it is not possible to create new contacts on your watch.

    When make calls or send new messages, existing between in contact with instead are selectable via the phone and applications or Messages using Siri / the microphone to dictate a phone number:

    Instructions are available here:

  • How to add friends again Apple Watch

    How to add a friend again Apple Watch?

    Hello

    Under watch OS 3, the friends feature (which was available in previous versions) comes over and there is no direct replacement for it.

    When making calls or sending of new messages, contacts instead can be selected via the phone and Messages applications or using Siri:

  • How to upgrade PHP

    Just try to find how to upgrade PHP on El Capitan

    You will need to do this in terminal:

    https://coolestguidesontheplanet.com/upgrade-PHP-on-OSX/

  • How to add new folders in thunderbird for mac 38.2.0 POP3

    Switch PC to a macbook pro. Downloaded Thunderbird 38.2.0. I am trying to add new folders, under local folders. Trash and Outbox are in local folders, but I don't see how to add folders to organize my mail.

    Right-click

  • How to add podcasts to an existing account?

    I already downloaded 4 to 5 podcasts on my account, but I can't understand how I add another. I can repeat the process, but then I should add these 5 previous podcasts.

    I can't understand how it just add to my account.

    Everyone knows this?

    Thank you!

    Do you mean "podcasts" or do you mean "episodes"? A podcast is, indeed, the 'wrapper' for the episodes and has its own page in the iTunes Store, in which episodes show. The Store and iTunes work stream, which contains the information in a specific format. All what you need to do is add an episode to the food and the re - publish: subscribers in iTunes will see the new episode almost immediately and the store will be updated in 1 or 2 days.

    If you want to add a new podcast, with its own distinct episodes of your existing, just go to http://podcastsconnect.apple.com and click on the icon "+" at the top left to add. This will not affect your existing podcast.

    When you have any questions you should post the URL of your feed and iTunes Store page, because without them, we can give very general answers.

  • How to add another search engine?

    Hi, guys! I have been using your browser for years on my PC and for about half a year on my cell phone. I used to use ie, opera, chrome, but finally I chose your browser for mobile and PC because your application is the best! It is incomparable! I have a simple question on the mobile version - how to add my favorite search yandex.ru for list provider do its default value? I did a tip of the parameters but it doesn't work. And why don't you make also much easier by adding a button like 'Add another search site' in the settings? Apart from please give advise me how to activate the English spelling? Thank you in advance for help.

    You should be able to find it at http://mycroftproject.com/search-engines.html?name=yandex.ru

    Search engines are managed in the settings of Firefox as described in https://support.mozilla.org/en-US/kb/manage-my-default-search-engines-firefox-android

Maybe you are looking for

  • Change of password required?

    Greetings. I have not logged in on iCloud in ages and rarely save my iPhone in the iCloud, preferring to back it up on my macbook pro/itunes. Today, just for the heck of it, I went to to connect to iCloud on my macbook and I was told that I had to up

  • Satellite U940 - backlit keyboard does not work after sleep

    If my computer goes to sleep the light most of the time does not work. CTRL-Z is nothing. I have reset the values by default and still no luck. I need to reboot to get it to work again. I see it as one problem for others: http://forums.computers.Tosh

  • cannot attach files to send

    Lately when you try to attach any type of file in the folder my documents to any mail server that I freeze - I click on the file and the attach icon and just freeze - I have to force close and start again - sometimes I can reach and sometimes I can't

  • How to connect more than 18 players for windows media Encoder 9.

    Hi, I try to use Windows Media Encoder 9 to 24 players conect to the streaming signal, the problem I have is that I did that 18 connections at the time, I have not been able to get 24 connections. Also when I disconnect a player which is the signal,

  • Cannot install Windows Update to KB2698023 three times.

    Original title: windows KB2698023 update Download KB2698023 update failed to install - three times