Jump to content

Thingfish47

New Members
  • Posts

    8
  • Joined

  • Last visited

Thingfish47's Achievements

Member

Member (2/5)

0

Reputation

  1. I really am sorry for troubling you guys. Adding the word 'global' inside the function that extracted the data has worked wonders. DOH!
  2. That code works fine. Many thanks! I just need to implement it within my code.
  3. $Keys is an array containing 20 integers. It all debugs out to console.log correctly. There are NO security issues with this, it will never get out of the lan, and runs on my personal development PC, but I'm happy to learn. All I really want to do is get hold of the data as quickly and easily as possible. This is not my main area of expertise, and almost certainly never will be.
  4. In php I have extracted 20 items from the db, and can display them fine. I drop out of php into javascript and execute the following line of code (straight from examples...) var kArray = <?php echo json_encode($Keys); ?>; I have also tried var kArray = <?php echo json_encode($Keys,JSON_FORCE_OBJECT); ?>; kArray.length is undefined, and are all entries. Do I need to install more software for this to work? I have PHP 7
  5. I bought a book called "Learning PHP, MySQL & JavaScript: With jQuery, CSS & HTML5 (Learning Php, Mysql, Javascript, Css & Html5)" Kindle Edition It has a chapter or two on Ajax.
  6. Many thanks! It's for the network at work so guys can predict the final standings for the UK Premier Division football (soccer) league. So I'm now off to read an ajax manual.
  7. It is a db data set,but i was envisioning a 'done' button to update the database when things are as the user likes. So would it be possible to use JS for the moving about and the 'Done' button to save the amended data?
  8. Hi Knowledgeable Ones, In a regular program, I would use a list-box of some sort, and have an 'up' button and a 'down button that would enable a selected item in the list to be swapped with the appropriate neighbour to achieve moving an item up or down the list so that the user could arrange the items in their desired order. Could someone spare me some time to suggest how this could be done in a web page with php/html. Broad brush-strokes would probably be adequate. I have huge amounts (47 years) of programming experience, but am new to php/html which I find a trifle frustrating.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.