jQuery UI Widgets Forums Grid PHP Examples

Tagged: ,

This topic contains 3 replies, has 2 voices, and was last updated by  Charlie 11 years, 4 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    PHP Examples Posts
  • PHP Examples #16541

    Charlie
    Participant

    I have had very little to do with JavaScript so in this area I’m a complete newbie. I decided to sign up with jQWidgets for a year to try and improve my knowledge as the controls are really first class. However I’m falling over at the first hurdle :>(

    I have unpacked both the Production Build and the Source Code Build to my server. I have installed the northwind MySQL DB and edited the connection details in each connect.php in every sub-folder and checked it connect fine. If I run data.php in any of the sub-folders I get a full screen of data as I would expect. However when I run any of the index.php files I get no data only any static content that is there. What am I doing wrong.

    BTW some of the demo files contained a typo in one of the div tags:-

    id=’jqxWidget'” instead of id=’jqxWidget’

    … not that that ahead anything to do with my problem obviously.

    Charlie

    • This topic was modified 11 years, 4 months ago by  Charlie.
    • This topic was modified 11 years, 4 months ago by  Peter Stoev. Reason: Moved to Grid Forum
    PHP Examples #16560

    Peter Stoev
    Keymaster

    Hi Charlie,

    You may take a look at the online PHP samples. They demonstrate how the widgets should be used with PHP and also include the required server and client side code. In addition, you should run the index.php on a web server because the widgets use the jQuery’s ajax function for getting data and ajax calls require a web server.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    PHP Examples #16659

    Charlie
    Participant

    Hmm am using a web server and have indeed studied the server side code (connect.php and data.php would have worked other wise :>)). However the Ajax issue is new to me so therein lies the problem perhaps. As I said I’m a real newbie to JavaScript.

    PHP Examples #16670

    Charlie
    Participant

    OK Classic newbie error. Neglected to copy the scripts folder to the test system. Thanks for the help.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.