Jump to content

gw1500se

Members
  • Posts

    1,029
  • Joined

  • Last visited

  • Days Won

    16

gw1500se last won the day on April 1 2023

gw1500se had the most liked content!

4 Followers

Profile Information

  • Location
    Georgia, USA

Contact Methods

  • Skype
    gw1500se

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

gw1500se's Achievements

Prolific Member

Prolific Member (5/5)

75

Reputation

3

Community Answers

  1. Do you have the following in your php.ini? extension=php_oci8.dll extension=php_oci8_11.g.dll
  2. This is really an HTML question. Have you tried using the <font> tag to format the output?
  3. Looks like PHP was built without --with-oci8 parameter. You can install it thus: pecl install oci8
  4. Please show your code and remember to use the code icon(<>) at the top. Also be sure to choose PHP as it will properly format your code.
  5. Look for an error in the httpd logs. This error in PHP, I think, is generic.
  6. A flat file database is the worst decision you can make for keeping records. For a whole host of reasons I won't bother to go into here. Databases such as MySQL are easy to set up and easy to use with PHP (easier than managing a flat file). The only time I've seen a requirement for a flat file database is for school homework.
  7. Probably the wrong approach. That information should be secured in a database. Google examples of PHP log in pages.
  8. So this is what I thought I should do: function getCount(arrayA,arrayB) { const requesterList = arrayB.tasks.map((i) => i.project.requester_name); // const missing = arrayA.requesters.filter((i) => !requesterList.includes(i)); const missing=requesterList.filter((i) => !arrayA.requesters.includes(i)); console.log(missing); return(missing.length); } Unfortunately I am not understanding the functions as this never returns anything (always 0).
  9. You need to make sure your calculation is using the same units. You probably need to convert GB to MB or vice versa.
  10. Thanks. I guess I do want it the other way around but I don't think it is that simple. The keys are diufferent.
  11. I'm a bit confused by your code: const missing = arrayA.requesters.filter((i) => !requesterList.includes(i)); Missing contains the entries in arrayA.requesters rather than a list of those in requesterList.
  12. Getting this error: Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'filter') at getCount (auto_select.js:62:38) at myExtension (auto_select.js:95:16) at async main (auto_select.js:148:7) on this line: const missing = arrayA.requesters.filter((i) => !requesterList.includes(i)); This is my function: function getCount(arrayA,arrayB) { const requesterList = arrayB.tasks.map((i) => i.project.requester_name); const missing = arrayA.requesters.filter((i) => !requesterList.includes(i)); return(missing); }
×
×
  • 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.