• Member Avatar for jkon
    jkon

    Gave Reputation to rproffitt in what is the correct way of creating a member view page (profile page)

    @divinity02. "Best" is achieved by stating what is best. The above fails one of the criteria of user login systems on a very basic item. Since you are asking for …
  • Member Avatar for jkon
    jkon

    Replied To a Post in Polling database

    Dear friend first understand what databases are about. You don't need to read the theory to write tests just to understand the basics of it. Then ask your self about …
  • Member Avatar for jkon
    jkon

    Replied To a Post in Jokes

    - manager : “your code produced unexpected results , sometimes loosely based on input” - programmer : “thank you , you now have to pay me for this AI”
  • Member Avatar for jkon
    jkon

    Replied To a Post in Why can't I find good front end developers ?

    I am a programmer so front end is not my thing . I can make it in three hours or less , how much would you pay for that job …
  • Member Avatar for jkon
    jkon

    Edited Why can't I find good front end developers ?

    Let me give you the context. We are a small company 5 persons , two owners and we do have a variety of interests. But to be honest the money …
  • Member Avatar for jkon
    jkon

    Created Why can't I find good front end developers ?

    Let me give you the context. We are a small company 5 persons , two owners and we do have a variety of interests. But to be honest the money …
  • Member Avatar for jkon
    jkon

    Replied To a Post in What are you eating/drinking right now?

    pot roast beef with sun-dried tomatoes , a bit olive oil , cheddar cheese on top and a lot oregano and thyme
  • Member Avatar for jkon
    jkon

    Gave Reputation to ndeniche in accessing data on MultiLevel Json Array

    For starters, the structure in your json object seems odd. Let me re-format it, so that we can give it a closer look: [{ dateTime: "2018-12-04T10:30:45:222z" comments:"" drivers: [ { …
  • Member Avatar for jkon
    jkon

    Gave Reputation to Brianbc in how to print payslip for each employee using javascript

    See here: $row = mysqli_fetch_array($myquery, MYSQLI_ASSOC); ?> <div id="pdata" class="printArea"> You are only accessing one row from the result of your query. And that is all that there will be …
  • Member Avatar for jkon
    jkon

    Replied To a Post in How can I run multiple dedicated servers for one domain?

    150 users at a time in a server ? I understood from your answers that your code is a mess , but 150 users at a time ? First understand …
  • Member Avatar for jkon
    jkon

    Replied To a Post in how to print payslip for each employee using javascript

    My advice is to start again from the basics , what pdf is , what PHP , what HTML and what JavaScript. You definitely not printing any pdf here and …
  • Member Avatar for jkon
    jkon

    Replied To a Post in I know Im Close,..But I have a JS Problem

    You are comparing a string with a js Date object. First instantiate a Date object from your string [Click Here](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/parse) and then you can make the comparison with Date.getTime() [Click …
  • Member Avatar for jkon
    jkon

    Replied To a Post in PHP and sockets

    Hello ryantroop, Based on what you described I can't see why you need PHP as intermediary. In the websocket handshake you have all the cookies and it is easy with …
  • Member Avatar for jkon
    jkon

    Replied To a Post in Get textbox data without POST or GET calls

    I don't want to interfere to the conversation (since I didn't understood why the thread starter want to do it that way) but because I realized that a hint could …
  • Member Avatar for jkon
    jkon

    Gave Reputation to cereal in Run a loop with a spesific pattern

    Ah, no. Okay for that you need *variable variables:* * http://php.net/manual/en/language.variables.variable.php For example: <?php $start_balance = 2; $stop = 5; $roi = 5; $sum = 0; for($i = 1; $i …
  • Member Avatar for jkon
    jkon

    Replied To a Post in c++ destroy hash table

    temp and tempNext are used only internally this method why do they have pointers ?
  • Member Avatar for jkon
    jkon

    Replied To a Post in jQuery inspired parameter-dependent get or set behaviour for PHP

    diafol : "I really don't like magic methods (__get and __set) as they're not very flexible (IMO), but equally bore myself to distraction with set/get methods. " One of the …
  • Member Avatar for jkon
    jkon

    Gave Reputation to cereal in jQuery inspired parameter-dependent get or set behaviour for PHP

    If implemented, IMO, it should be consistent through all code as jQuery does. Using mutators and accessors, as described by jkon, can simplify because the naming suggests what to expect: …
  • Member Avatar for jkon
    jkon

    Replied To a Post in jQuery inspired parameter-dependent get or set behaviour for PHP

    Diafol I guess you are referring to plain objects … (every OOP language has that short of thing PHP has PPO or POPO (Plain PHP Objects) , their main concern …
  • Member Avatar for jkon
    jkon

    Replied To a Post in Dani isn't killing DaniWeb with Dazah, she's saving it

    When I search a simple solution StackOverflow is the best answer to Google and to me , simple answers and a good (not great) voting system. But you don't ever …
  • Member Avatar for jkon
    jkon

    Replied To a Post in Job seems to change CPU core while is executed in a multi core system

    "This is a type of load-balancing or system optimization." Actualy I was asking if this is happening (you wrote that it does) how and why . Why its load-balancing system …
  • Member Avatar for jkon
    jkon

    Replied To a Post in Dani isn't killing DaniWeb with Dazah, she's saving it

    DaniWeb isn't a Q&A site it is a forum exchanging opinions , in some aspects of those opinions there isn't relevant content in Google of it , does DaniWeb exists …
  • Member Avatar for jkon
    jkon

    Replied To a Post in Dani isn't killing DaniWeb with Dazah, she's saving it

    Obviously Dani loves and cares more for DaniWeb than me. And there were choices made that I believe is now common knowledge that hurt DaniWeb. Some of them had to …
  • Member Avatar for jkon
    jkon

    Replied To a Post in Job seems to change CPU core while is executed in a multi core system

    Could it be that the job is not changing in which core is executed but the indexes in the report by 'top' command is changing over time (e.g. the core …
  • Member Avatar for jkon
    jkon

    Edited Job seems to change CPU core while is executed in a multi core system

    Hello , I am not Linux and Unix expert so maybe this is a simple question to be answered , I am just not sure. I have a sever with …
  • Member Avatar for jkon
    jkon

    Created Job seems to change CPU core while is executed in a multi core system

    Hello , I am not Linux and Unix expert so maybe this is a simple question to be answered , I am just not sure. I have a sever with …
  • Member Avatar for jkon
    jkon

    Gave Reputation to chuckc in What is your current favorite hobby (besides technology) ?

    I don't know if it is exactly a hobby as most people would define it, but lately I've been reading about DNA and molecular biology. What I find fascinating is …
  • Member Avatar for jkon
    jkon

    Gave Reputation to Kevin_1 in What is your current favorite hobby (besides technology) ?

    Dancing! Especially blues dancing. If I had to choose a single favorite hobby it would be blues dancing right now. Listening to music, collecting good songs on Spotify, playing music, …
  • Member Avatar for jkon
    jkon

    Replied To a Post in Your opinions about mobile games field

    rproffitt and JamesCherrill thank you for opinions and the case study links. Probably we will go with our own graphics for now and maybe improve them if you see that the game …
  • Member Avatar for jkon
    jkon

    Replied To a Post in How to make a Like button in Php

    hello destiny_3 with this code stop programming at all , do something else in your free time , apparently you don't have it . If you still want to be …
  • Member Avatar for jkon
    jkon

    Created Your opinions about mobile games field

    I am a partner in a company that deals with various aspects of the web presence of a company. Those aspects some times touch back office and more often replace …
  • Member Avatar for jkon
    jkon

    Replied To a Post in PHP Calculating total depending on rates

    Diafol apparently we wrote our answers almost in vain. The creator of this thread just created it and didn't came back to see the answers (@see user logs). I wrote …
  • Member Avatar for jkon
    jkon

    Gave Reputation to diafol in PHP Calculating total depending on rates

    As we're in a generous mood, thought I'd give my version: class Salary { private $hours; private $rates; private $keys = [0,1,2]; private $total = 0; private $breakdown = []; …
  • Member Avatar for jkon
    jkon

    Replied To a Post in PHP Calculating total depending on rates

    Hello phorce , I can see three issues with your table 1. Naming . From your example its obvious that you didn't meant rate_from , rate_to but hour_from , hour_to …
  • Member Avatar for jkon
    jkon

    Replied To a Post in Trying PDO and Already getting errors...

    Hello patk570, We have (almost) no idea from your code what $this->db_connection actually is. You keep talking about PDO but the var_dump and print_r that you provided say it clearly: …
  • Member Avatar for jkon
    jkon

    Created Dare … dance your selves and see the shadows

    Recently I discovered that dancing against the sun or lights is great. You can see your shadow moving … lets do it and describe it (mine was a dark wall …
  • Member Avatar for jkon
    jkon

    Replied To a Post in Viral Traffic Features And Their Php Codes

    Just to be clear I upvoted last AssertNull post .... Maybe at start the downvote button pressed by accident but when I realized it I upvoted again, the thing is …
  • Member Avatar for jkon
    jkon

    Gave Reputation to AssertNull in Viral Traffic Features And Their Php Codes

    > Wait and see how I turn the negativity out of the forced sharing concept into something, even you guys would be willing to accept. Oh the symbolism and the …
  • Member Avatar for jkon
    jkon

    Gave Reputation to diafol in hapi and what?

    Hi pywriter. Not a node guy but just a comment on your last statement. Have you considered coding in native js first? Frameworks are great but they don't let you …
  • Member Avatar for jkon
    jkon

    Replied To a Post in PDO Group fetched results by same ID

    Hello seularts , I can't understand the “I am trying to group these IDs and output the Values for those IDs on a single Row” part. If you have multiple …
  • Member Avatar for jkon
    jkon

    Gave Reputation to rproffitt in How to open camera and take a photo script

    Cross browsing? I think you meant the old topic of Browser and Platform Compatibility. I've seen such quests and if you don't maintain a sense of humor and accept this …
  • Member Avatar for jkon
    jkon

    Replied To a Post in Viral Traffic Features And Their Php Codes

    Viral marketing is not black and white. I believe that is obvious that the “Weight Loss” example is in one of the darkest shades of Viral Marketing. How can you …
  • Member Avatar for jkon
    jkon

    Gave Reputation to UI in Viral Traffic Features And Their Php Codes

    AssertNull got my upvote simply because his first post is very humourous. Ha! Ha! Ha! Made me laugh. I like these kind of jokes. Instead, of giving his opinion like …
  • Member Avatar for jkon
    jkon

    Gave Reputation to AssertNull in Viral Traffic Features And Their Php Codes

    I will share my opinion in a subsequent post. Before I do, however, you must upvote that post before reading it, and tell the world how wonderful the post that …
  • Member Avatar for jkon
    jkon

    Replied To a Post in “Memo” btn proposal

    Yes Reverend Jim .. I could also create a folder in my PC with threads that are the answer to what I am asking and saving them there , in …
  • Member Avatar for jkon
    jkon

    Replied To a Post in “Memo” btn proposal

    Hello Dani , I believe that you genuinely didn't understood what I was writing . I am not an English native speaker and although I have a Cambridge proficiency my …
  • Member Avatar for jkon
    jkon

    Created “Memo” btn proposal

    I have made more than a few proposals for the general future of DaniWeb over the time but here is a really small and easy to implement suggestion. Today I …
  • Member Avatar for jkon
    jkon

    Replied To a Post in Inspecting css file

    Hello, You wrote that “ on the right side said inline ” . Witch css inspector tools are you using ? For example in Chrome developers tools under inspect you have element.style …
  • Member Avatar for jkon
    jkon

    Replied To a Post in How Come Variable Not Assigned And Php Knows Where To Look For Value ?

    As rubberman wrote you declared the $value inside the foreach for this array iteration. @see http://php.net/manual/en/control-structures.foreach.php There are more than that about arrays iteration in PHP (and differences in versions) …
  • Member Avatar for jkon
    jkon

    Replied To a Post in Sorry for my absense

    All OK Dani? Are you feeling any better?

The End.