rproffitt 2,701 https://5calls.org Moderator

Just thinking that LAST or TOP may be what I'd want to know more about.
https://www.w3schools.com/sql/sql_func_last.asp

rproffitt 2,701 https://5calls.org Moderator

I see I wrote caniuse.com not caniuseit.com. Computers be like that!

As to JSLint, I'd tolerate nothing. I'll share I made money going halfway around the world just to re-iterate that compiler and lint warnings shall be fixed.

rproffitt 2,701 https://5calls.org Moderator

The only Hun I want to be called today is Attila.

rproffitt 2,701 https://5calls.org Moderator

Try debugging this.

In Visual C++ (free ones out there) I can set breakpoints to see what vars are at that point.
If not, I add print statements to trace my code.

This looks like a class assignment. Haven't they covered beginner's debugging?

rproffitt 2,701 https://5calls.org Moderator

Read http://php.net/manual/en/function.die.php and notice how die is discouraged.
Also, my choice would be to use else on the next passage of code.

rproffitt 2,701 https://5calls.org Moderator

@karthik I'm sure we could supply code but there are a dozen or more web database servers out there. Let's hear more about the server so we can find the right code.

Adding with edit.

Code is on the web but you are not finding it. Here's one:
http://www.dreamincode.net/forums/topic/115753-use-vbnet-to-connect-to-mysql/

rproffitt 2,701 https://5calls.org Moderator

To move things along, does this happen before or after the Open statement?
In other words, time for you to debug where this happens, what line and then focus on that line.

rproffitt 2,701 https://5calls.org Moderator

@James. I've made those sort of calls before and it frustrates both of us. If you don't have basic VOM skills, I can't teach those over a Skype.
Did you try one of those 2 to 1 USB power enhancer cables?
Also, maybe it's just a bum hub?

rproffitt 2,701 https://5calls.org Moderator

If you wish. You could tell the users to use other than Chrome?
In parting, also use caniuse.com to check if your code is tripping over some other items.

Did the current code pass JSLint?

rproffitt 2,701 https://5calls.org Moderator

Welcome new member. A few things.

  1. Always make a good title to your post. Few will ever open a post titled like this.
  2. Your post looks like an assignment. Maybe you meant you wanted to hire a team to produce an app.

Clear up what you meant and how much you are paying for this app along with license terms.

rproffitt 2,701 https://5calls.org Moderator

After a quick check with https://www.google.com/search?q=Asynchronous+web+programming+using+Java the answer looks to be yes to the first part of your question. Tools are of course your choice to choose from. It appears it's not a tools issue at all.

rproffitt 2,701 https://5calls.org Moderator

jshell.png
My takeaway was this picture.

So JavaScript is like Schrödinger's cat and quantum mechanics. That is, if anyone tells you they understand it....

rproffitt 2,701 https://5calls.org Moderator

You use Taylor in line 11 and taylor in line 16.
Also, lines 10, 11 have errors. Strange quote marks there.
I didn't check for anything else.

rproffitt 2,701 https://5calls.org Moderator

Alex, there are so many priors on your question that there is no lack of examples.
https://www.google.com/search?q=percentage+function+php

So this is why you have to share what you've written so far. If you've written nothing then you need to get back to PHP Tutorials so you can start coding this up. Example: https://www.w3schools.com/php/

rproffitt 2,701 https://5calls.org Moderator

That line doesn't look off on its own.

What does JSLint have to say about your code?

  1. JSLint (you can find that on your own.)
  2. Watch https://www.youtube.com/watch?v=hQVTIJBZook to learn more about this and issues with javascript.

I upset a fellow coder by insisting a clean lint report before we started debugging.

rproffitt 2,701 https://5calls.org Moderator

Inside you'll find the minus or ground should be continuous to the drive.
It's the +V side you need to trace to see where it goes and to any chip or diode. If it's a diode then it's 5V.
If it's a 3 pin regulator then we need the numbers off that to see if we can find specs.

I never heard if this came with a power supply. Mine don't. I just run them off USB power. Why not run them off USB power?

rproffitt 2,701 https://5calls.org Moderator

@james. The problem is that what you have is not what I have and may have never seen before. I'd test with the very safe 5V supply next.

rproffitt 2,701 https://5calls.org Moderator

By unscrewing it, opening I could use an Ohm meter to see if the is some trace from the +V to the DVDRW's +V (likely) or look at the circuit board. But I'm not there so you are pretty much working on faith and clouds here.

rproffitt 2,701 https://5calls.org Moderator

Welcome to the forums. You need to share your code so far and where you are having troubles. Some folk want code to be written for them but this is not that place.

C++ (11 and on) has sort() noted at http://www.cplusplus.com/articles/NhA0RXSz/

rproffitt 2,701 https://5calls.org Moderator

Can you share line 1194?

rproffitt 2,701 https://5calls.org Moderator

I think you could have left the code off this post. That is, there are priors at https://www.google.com/search?q=how+do+I+convert+from+mysql+to+mysqli and maybe, just maybe a tool to do the conversion in simpler systems.

I know folk want instant conversions with no work on their part. But free beer is usually not tasty.

rproffitt 2,701 https://5calls.org Moderator

You forgot to do your basic search. This question has a lot of good prior answers at:
https://www.google.com/search?q=How+does+a+TCP+server+handles+multiple+connections%3F

rproffitt 2,701 https://5calls.org Moderator

Given the picture and the above I'm changing my answer to 5V input. The unit is working with USB +5V power now so there's little to no reason for the maker to add anything more to the insides.

rproffitt 2,701 https://5calls.org Moderator

That's a method I would never use. I continue to use CD creation software like CDBURNERXP (works from XP to 10) and I see it's up on Ninite.com.

You discovered what does not work, so go back to methods we know work.

rproffitt 2,701 https://5calls.org Moderator

My first feedback is to fix those errors.

Read https://validator.w3.org/nu/?doc=https%3A%2F%2Fstoreo.io%2F

rproffitt 2,701 https://5calls.org Moderator

http://php.net/manual/en/language.operators.logical.php seems to explain it.

Skip down to "The constant true is assigned to $h before the "and" operation occurs".

Either that on you have a bugged version of PHP.

PS. Wow, similar answers from 5 years ago at https://www.google.com/search?q=php+if+command+with+two+conditions

rproffitt 2,701 https://5calls.org Moderator

Here's a thing. Your topic doesn't seem to match what you ask in the text below.

So beside that, in the IDE break on the error line and examine variables to see what the issue is.

rproffitt 2,701 https://5calls.org Moderator

I'd fix your Web Of Trust issues first. WOT blocked your site so I couldn't check it out.

rproffitt 2,701 https://5calls.org Moderator

This is not a JFGI response.

https://www.google.com/search?q=phpmyadmin+blank+page+xampp finds it's a common problem. Most folk find it's time to check logs and maybe restart the server.

rproffitt 2,701 https://5calls.org Moderator

You need to add more code to check if the SELECT is return no records and then add one for you to edit.
Or just INSERT your new record. Example at https://www.tutorialspoint.com/sql/sql-insert-query.htm

rproffitt 2,701 https://5calls.org Moderator

OK, so let's see priors minus PDO!
https://www.google.com/search?q=PHP+Pagination+Class&ie=utf-8&oe=utf-8#q=PHP+Pagination+Class+for+mysqli+-pdo&*

The example I linked to first does not require a lot of work. Just configure and use. In my view, you have a lot of priors (wheels) to look over.
If you want to write this again, then you dive in and work it hard.

rproffitt 2,701 https://5calls.org Moderator

Given all the prior work on this, shouldn't we be using off the shelf solutions (wheels)?
Example at https://github.com/BenGriffiths/pdo-mysqli-pagination

cereal commented: great suggestion! +14
rproffitt 2,701 https://5calls.org Moderator

I'd take this back to EasyPHP Web Server's support. Report those bugs!

rproffitt 2,701 https://5calls.org Moderator

Let's start small. Before you can edit a website you must have a website to edit on some server. If you have Windows or Linux look to WAMP, XAMPP or LAMPP. If nothing try PHP over at https://fiddles.io/#

rproffitt 2,701 https://5calls.org Moderator

Why this may be a fools errand is because the panel may not have content as VB and many other apps don't render the view if it's not on screen.

So do try the method noted at http://www.dreamincode.net/forums/topic/109519-taking-a-snapshot-of-a-form-which-is-not-visible-on-screen/ but given it's not onscreen it may not have content.

rproffitt 2,701 https://5calls.org Moderator

The beeping has many causes from failed memory to board failures. Try the usual and reseat the RAM, try it with one stick and tell me the voltage of the BIOS battery.

Remember how old this laptop is and consider it may be done.

rproffitt 2,701 https://5calls.org Moderator

Age? First program I wrote was on the GE-210. Took a lot of courses in electronics and some programming. Worked mostly in embedded computing and industrial controls. Later work in cameras and DVRs.

As to the product, If you have a 9V supply that fits, that one first if it's the lowest voltage.

No, it won't overstrain the DVD to be exact. It's more likely to blow the interface board.

rproffitt 2,701 https://5calls.org Moderator

That's not a bad place to start. That is, if you program now, you can read the top 10 finds at https://www.google.com/search?q=cliff+notes+oop+programming to see what's up. Not that you'll be an expert in a day.

As to languages, there are a legion of OOP languages so I have yet to find anyone learn them all. ADA OOP programers are rare as sunny days in Vancouver, BC.

rproffitt 2,701 https://5calls.org Moderator

@M. It's a safe bet you will use boolean in your code. Forget that for now and sketch out your app then code it up. I could make bet you'll use an if statement.

rproffitt 2,701 https://5calls.org Moderator

Good you fixed it. Next time add the PHP tag to save a step. Also the issue and change you made would have us know your database schema.

So I hope my advice about using the command line helped you find this one.

rproffitt 2,701 https://5calls.org Moderator

Just reading your code, line 13 would only set a string in some language.

https://www3.ntu.edu.sg/home/ehchua/programming/sql/MySQL_Intermediate.html is a tutorial so you may have to reveal what language you are using.

Also, does the update work from a command line?

rproffitt 2,701 https://5calls.org Moderator

That's a start or "spec" but you didn't share where you are stuck. In other words, tell the forum where you are stuck.

rproffitt 2,701 https://5calls.org Moderator

@B As I've written in C#, I want to add you should try your next app in C#. It's not a difficult leap from VB.NET IMO.

As to Monodevelop, it wrote "and more." But failed to document the more. Have you installed it and checked it out?

rproffitt 2,701 https://5calls.org Moderator
rproffitt 2,701 https://5calls.org Moderator

http://www.mono-project.com/docs/about-mono/languages/visualbasic/ notes the compiler is out.
Did you try http://www.monodevelop.com/

PS. Frankly I'd just install the community/free version of vb.net in a virtual Windows machine.

It's free at https://developer.microsoft.com/en-us/windows/downloads/virtual-machines

rproffitt 2,701 https://5calls.org Moderator

After reading http://gizmodo.com/autofill-on-chrome-and-safari-can-give-hackers-access-t-1791030208 I think you should use what's builtin and not start yet another security issue.

rproffitt 2,701 https://5calls.org Moderator
rproffitt 2,701 https://5calls.org Moderator

@Reverend Jim. I had one client ask for this and the "database" was Wikipedia. What they wanted was a web scraper to get some Wikipedia page and find the numbers on the GDP for countries.

To the OP, you have to tell more. RJ did share there are 3 engine interfaces and I think there are more if you go looking. So with this in mind, let's hear more about this web server.

rproffitt 2,701 https://5calls.org Moderator

Here, such an app would not be complete without checking off or selling insurance too. There may be local taxes, fees too so it's going to be much more work than you listed to really have a finished rental portal. I mean, you wouldn't do this in a classic app but as a web app. Right?

rproffitt 2,701 https://5calls.org Moderator

Go to the Codepen for that and see what I changed in the JS area as follows.

var chart = AmCharts.makeChart( "chartdiv", {
  "type": "serial",
  "theme": "light",
   "depth3D": 20,
  "angle": 30,
  "dataProvider": [ {
    "name": "Income A",
    "open": 0,
    "close": 11.13,
    "close2": 14.13,
    "close3": 17.13
  }, {
    "name": "Income B",
    "open": 11.13,
    "close": 15.81,
    "close2": 19
  }, {
    "name": "Total Income",
    "open": 5,
    "close": 15.81,
    "close2": 16.9
  }, {
    "name": "Expenses A",
    "open": 12.92,
    "close": 15.81,
    "close2": 17.9
  }, {
    "name": "Expenses B",
    "open": 8.64,
    "close": 12.92,
    "close2": 16.1
  }, {
    "name": "Revenue",
    "open": 2,
    "close": 8.64,
    "close2": 13.2
  } ],
  "valueAxes": [ {
    "axisAlpha": 0,
    "gridAlpha": 0.1,
    "position": "left"
  } ],
  "startDuration": 1,
  "graphs": [ {
    "fillAlphas": 0.8,
    "openField": "open",
    "type": "column",
    "valueField": "close",
    "clustered": false
  }, {
    "fillAlphas": 0.8,
    "openField": "close",
    "type": "column",
    "valueField": "close2",
    "clustered": false
  }, {
    "fillAlphas": 0.8,
    "openField": "close2",
    "type": "column",
    "valueField": "close3",
    "clustered": false
  } ],
  "columnWidth": 0.6,
  "categoryField": "name",
  "categoryAxis": {
    "gridPosition": "start",
    "axisAlpha": 0,
    "gridAlpha": 0.1
  }
} );
diafol commented: Glad the OP thanked you RP :( +15