• Member Avatar for Dani
    Dani

    Replied To a Post in Can You Rank These Valid Mysqli Executions ?

    > Why my code looks messed-up above ? Sorry about that. I've gone ahead and fixed it. In the future, please add a blank line above and a blank line …
  • Member Avatar for Dani
    Dani

    Began Watching Can You Rank These Valid Mysqli Executions ?

    Hiya, Which of these IF CONDITION codes are valid ? And can you rank the valid ones according to your choice by giving reasons to your choices ? Thanks! 1. …
  • Member Avatar for Dani
    Dani

    Edited Can You Rank These Valid Mysqli Executions ?

    Hiya, Which of these IF CONDITION codes are valid ? And can you rank the valid ones according to your choice by giving reasons to your choices ? Thanks! 1. …
  • Member Avatar for Dani
    Dani

    Replied To a Post in How to count live visitors on a page?

    Also, that last section is still incorrect. You cannot mix PHP variables into your javascript.
  • Member Avatar for Dani
    Dani

    Replied To a Post in How to count live visitors on a page?

    It doesn’t add a new row to the table each time you refresh the page?
  • Member Avatar for Dani
    Dani

    Replied To a Post in How to count live visitors on a page?

    If you use jQuery (which, if I remember correctly, you do), you can do something like this (this code is untested): <div id="visitor-count"></div> <script> const urlParams = new URLSearchParams(window.location.search); const …
  • Member Avatar for Dani
    Dani

    Replied To a Post in How to count live visitors on a page?

    On miningbot.html, you currently have: // Update the live visitor count on the page const visitorCountElement = document.getElementById('visitor-count'); setInterval(() => { fetch(`get_visitor_count.php?id=${id}`) .then(response => response.text()) .then(count => { visitorCountElement.textContent = …
  • Member Avatar for Dani
    Dani

    Replied To a Post in Webdevelopmentskills

    > It's a very large IT company in India. Some companies I consulted with used them. And they cut their offers by 50%? Oof! At least that's better than all …
  • Member Avatar for Dani
    Dani

    Gave Reputation to rproffitt in to convert algorithm to C++ code

    While your question is missing, your tags do include AI so I'll share I recently used ChatGPT to convert a short Python program to C++. It worked the first time. …
  • Member Avatar for Dani
    Dani

    Replied To a Post in How to count live visitors on a page?

    Per our live chat, you are a bit confused what I'm referring to. For now, let's leave miningbot.html alone. I have not confirmed that it should work, but it most …
  • Member Avatar for Dani
    Dani

    Replied To a Post in Webdevelopmentskills

    rproffitt, what is WiPro? farman, I would answer this question by saying experience with both front end and back end development nowadays. I don't mean the developer needs to also …
  • Member Avatar for Dani
    Dani

    Began Watching Webdevelopmentskills

    What are some essential skills every web developer should have?
  • Member Avatar for Dani
    Dani

    Replied To a Post in to convert algorithm to C++ code

    It sounds to me like you are in a class learning to convert pseudocode to C++. Can you please show us the pseudocode you're working with?
  • Member Avatar for Dani
    Dani

    Began Watching to convert algorithm to C++ code

    good
  • Member Avatar for Dani
    Dani

    Replied To a Post in How to count live visitors on a page?

    So the PHP code that you have here is definitely just a counter that increments itself by 1 every time someone visits the page, so it doesn't reset itself ever …
  • Member Avatar for Dani
    Dani

    Replied To a Post in How to count live visitors on a page?

    Oh, and also, [here is something](https://www.daniweb.com/tools/badges) that might interest you in terms of a live stream of who is visiting your website.
  • Member Avatar for Dani
    Dani

    Replied To a Post in How to count live visitors on a page?

    The code that you copied/pasted here doesn't use websockets. Why do you think it does? Websockets (which I personally don't have any experience with) let you keep a connection open …
  • Member Avatar for Dani
    Dani

    Began Watching How to count live visitors on a page?

    I want to count and show live users counter on my page. My url structure looks like this `domain.com/miningbot?id=pool-v9w1x2y` The users which are inside the parameter should be counted, updated …
  • Member Avatar for Dani
    Dani

    Edited Linked Server OLE DB MSOLAP Provider issue

    Hi, I have a SQL Server (RSQL) and a SSAS Server(RSSAS). RSQL has a linked server to RSSAS, naming [LinkedCube] Here is a screenshot of my Linked Server Properties I …
  • Member Avatar for Dani
    Dani

    Replied To a Post in How can this be more difficult for users ?

    Hi! I’m sorry you’re having a difficult time navigating the site. To find the latest topics to respond to, click “Read” in the top navigation menu, to the right of …
  • Member Avatar for Dani
    Dani

    Began Watching How can this be more difficult for users ?

    I just came in and had a topic to discuss with other programmers ... I remembered DaniWeb because in the past I have received very clever answers in questions that …
  • Member Avatar for Dani
    Dani

    Replied To a Post in Zazy says hello!

    I completely forgot about replying to this thread and I just randomly thought about it this weekend. I will preface this by saying I truly apologize to Zazy for turning …
  • Member Avatar for Dani
    Dani

    Replied To a Post in Codes for, i-net clear report rpt file in browser php code

    Sorry, I don't understand what i-net clear reports have to do with PHP? How are you wanting it to be integrated? Can you please explain in a little bit more …
  • Member Avatar for Dani
    Dani

    Began Watching Codes for, i-net clear report rpt file in browser php code

    I want to populate report in browser, i prepare this report in i-net clear report, and report file having extension of rpt. I also want to pass parameter
  • Member Avatar for Dani
    Dani

    Replied To a Post in Google as a tool to search for information is getting worse.

    > I f***ing hate Google anymore. 5 years ago you would have searched that and found a definite answer and guide on how to find your password. I'm gonna guess …
  • Member Avatar for Dani
    Dani

    Began Watching Google as a tool to search for information is getting worse.

    > [I f***ing hate Google anymore. 5 years ago you would have searched that and found a definite answer and guide on how to find your password. I'm gonna guess …
  • Member Avatar for Dani
    Dani

    Replied To a Post in Hi, to everyone!

    > I still didn't use Al content creators I create my content with the traditional handmade way. :) Thank you for your comment. As it should be!! :) However, I …
  • Member Avatar for Dani
    Dani

    Replied To a Post in Hi, to everyone!

    Yes, that's what's been happening. Low quality blogs and other such publications have discovered an easy way to churn out tons of seemingly fresh, interesting, informative content with perfect grammar, …
  • Member Avatar for Dani
    Dani

    Replied To a Post in SEO time period

    > Kind of makes it hard to form a correlation between the cause and the effect when the separation can be a year or more. Oh, and also, keep in …
  • Member Avatar for Dani
    Dani

    Gave Reputation to Astapblendir in SEO time period

    SEO is a continuous process and the length of time it takes to see results can depend on competitiveness of your industry, the quality and relevance of your content, and …
  • Member Avatar for Dani
    Dani

    Replied To a Post in How to pass two variables in a php url

    So glad to hear you were able to get it working! Hopefully I was at least a little bit helpful :)
  • Member Avatar for Dani
    Dani

    Replied To a Post in Hi, to everyone!

    Hi iandreas! It's so nice to have you here and welcome. Regarding rproffitt's questions, he's been on a mission lately to study everything he can about what's going on with …
  • Member Avatar for Dani
    Dani

    Began Watching Hi, to everyone!

    I am new to this group! I want to introduce myself. I am Andreas Ioannou this is a bio of me (so everyone get to know me better): I was …
  • Member Avatar for Dani
    Dani

    Replied To a Post in This is my Hello World post

    My code comments are typically just notes to myself to refresh my memory of why I did something a certain way, or tongue-in-cheek jokes to myself. It's *very* heavily commented …
  • Member Avatar for Dani
    Dani

    Replied To a Post in This is my Hello World post

    Also, just so that Olive realizes as she’s new here, what I was referring to is the platform that powers this site, DaniWeb, which I’ve been working on since 2002.
  • Member Avatar for Dani
    Dani

    Replied To a Post in This is my Hello World post

    My code is self-commenting as well. ;) I have always heavily commented my code so I just do it subconsciously as I write. I also make sure to comment why …
  • Member Avatar for Dani
    Dani

    Replied To a Post in This is my Hello World post

    I think he’s just refactoring the existing spaghetti code, if I understand correctly.
  • Member Avatar for Dani
    Dani

    Replied To a Post in This is my Hello World post

    Hi and welcome to DaniWeb. Good luck!!! Be sure to comment really thoroughly as you go and take advantage of your IDE's refactoring functionality.
  • Member Avatar for Dani
    Dani

    Began Watching This is my Hello World post

    Hello. I'm a web developer just taking a short break from converting a mess of legacy C# code into something more manageable. It's nice to be here.
  • Member Avatar for Dani
    Dani

    Replied To a Post in How to pass two variables in a php url

    Now looking at the screenshot you included in your previous post, the original line says to 'echo' and you replaced it with a line that says to just set it …
  • Member Avatar for Dani
    Dani

    Replied To a Post in Is there a nicer way to get the data from registration form?

    Sorry, I forgot to mention how to use it. With the code above, you can do something like: $myUser = new User(array( 'field1' => 'foo', 'field2' => 'bar', 'field3' => …
  • Member Avatar for Dani
    Dani

    Replied To a Post in Is there a nicer way to get the data from registration form?

    I think that what we do here at DaniWeb is probably close to what you're looking for. Here's a rough example of what we do: class AllObjects { public function …
  • Member Avatar for Dani
    Dani

    Replied To a Post in How to pass two variables in a php url

    And, with that code, what gets added to 1st_count.txt? Does linkcounter.php successfully grab the value of namehref that was passed into the URL?
  • Member Avatar for Dani
    Dani

    Replied To a Post in Content Security Policy / PayPal

    Also, I appreciate you not linking to adult material from DaniWeb, as we are a student-friendly community for everyone 13+. We'll get this figured out for ya.
  • Member Avatar for Dani
    Dani

    Replied To a Post in Hi everyone, I'm carlojay94

    Hello and welcome.
  • Member Avatar for Dani
    Dani

    Began Watching Hi everyone, I'm carlojay94

    I am working as a Business Executive at UberDoo, a well-known mobile app development company specializing in Uber clone development. As an experienced IT specialist, I works relentlessly to give …
  • Member Avatar for Dani
    Dani

    Replied To a Post in Content Security Policy / PayPal

    Sending me the HTML alone won't be of assistance. What I need to see are the HTTP headers of the page that is loading the Paypal script in addition to …
  • Member Avatar for Dani
    Dani

    Replied To a Post in How to pass two variables in a php url

    When you have the URL that includes `any_variable_name=$namehref` are you also using `$GET['any_variable_name']` to retrieve the filename on linkcounter.php?
  • Member Avatar for Dani
    Dani

    Replied To a Post in Principles of programming

    This topic is tagged c++, java, and images. Are you wanting to write it in C++ or java? Also, what does it have to do with images? Moving forward, please …
  • Member Avatar for Dani
    Dani

    Began Watching Principles of programming

    PR A PROGRAM IS REQUIRED TO READ FROM THE SCREEN THE LENGTH AND WIDTH FROM THE SCREEN THE LENGTH AND WIDTH OF A RECTANGULAR HOUSE BLOCK AND THE LENGTH AND …

The End.