• Member Avatar for Dani
    Dani

    Replied To a Post in How to create sitemap for +150k links

    I would definitely build your own dynamic sitemap if the list of pages on your site change frequently (e.g. a blog or user generated content). I'm glad you were able …
  • Member Avatar for Dani
    Dani

    Began Watching How to create sitemap for +150k links

    iI was searching the online "free/cheap" generators and i found out that they are not so cheap... They advertise the PRO plan for just $3 and when i came to …
  • Member Avatar for Dani
    Dani

    Replied To a Post in get two id through query string

    Did the code you provided not work? I haven't tested it, but it should give you the two numbers in the variables $first and $second. I think a problem you …
  • Member Avatar for Dani
    Dani

    Began Watching get two id through query string

    Hello all, I have a question I have 2 ids in a url that I want to extract with php, but it doesn't work, can someone help me below an …
  • Member Avatar for Dani
    Dani

    Replied To a Post in Sanjay Pasari: How to learn php?

    I coded DaniWeb in php and can help you with any questions you may have.
  • Member Avatar for Dani
    Dani

    Began Watching Sanjay Pasari: How to learn php?

    Hello Everyone, I am Sanjay Pasari and I am very keen about the php language is there anyone who can help me in learning php?
  • Member Avatar for Dani
    Dani

    Replied To a Post in How to remove URL parameter php

    I was just thinking … can you show me the PHP code you’re using to generate the MySQL query?
  • Member Avatar for Dani
    Dani

    Replied To a Post in How to remove URL parameter php

    I'm really sorry, I cannot for the life of me figure out why that's happening. I must not be noticing something obvious.
  • Member Avatar for Dani
    Dani

    Replied To a Post in Is there any Google Analytics alternative?

    Plausible starts at $9/mo and goes up from there. As I had mentioned, there are a handful of paid Google Analytics alternatives, but nothing else free the way GA is.
  • Member Avatar for Dani
    Dani

    Replied To a Post in How to remove URL parameter php

    And this doesn't work? ... RewriteEngine on RewriteRule ^([A-Za-z0-9]+)/(.+)$ $1/index.php?name=$2 [L]
  • Member Avatar for Dani
    Dani

    Replied To a Post in How to remove URL parameter php

    Since changing the folder name, what does your .htaccess look like? What did the .htaccess look like when it semi-worked? (e.g. it worked as long as there was no hyphen …
  • Member Avatar for Dani
    Dani

    Replied To a Post in No: 'noindex' detected in 'robots' meta tag" for coedigniter site

    Your webpage has the line: <meta name="robots" content="noindex"> in the `<head> ... </head>` section. Remove that line and Google will be able to index that page.
  • Member Avatar for Dani
    Dani

    Began Watching No: 'noindex' detected in 'robots' meta tag" for coedigniter site

    When trying to index the Codeingniter website on Google search console, it says "No: 'noindex' detected in 'robots' meta tag". please help resolve this issue
  • Member Avatar for Dani
    Dani

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

    Hi and welcome to DaniWeb!
  • Member Avatar for Dani
    Dani

    Began Watching Hi everyone, I'm wo6q34s

    My name is Wong. A digital marketer with 2 years of expertise in SEO, I have been passionate about it for over 2 years. As a consultant, I work with …
  • Member Avatar for Dani
    Dani

    Replied To a Post in Is there any Google Analytics alternative?

    Unfortunately I"m not familiar with any Google Analytics alternatives, and I've been in the industry a *long* time. There are products such as Statcounter, but it's only free up to …
  • Member Avatar for Dani
    Dani

    Began Watching Is there any Google Analytics alternative?

    Google Analytics is hard to read and want to find easy alternatives.
  • Member Avatar for Dani
    Dani

    Replied To a Post in Finished learning basics of html and css. What next?

    The problem you're encountering is that a website today requires a backend as well as a frontend. You'll often find backend programmers who code the web app's functionality, and then …
  • Member Avatar for Dani
    Dani

    Began Watching Finished learning basics of html and css. What next?

    Pardon me if this is not allowed here, you can remove this if this is not allowed. I’ve finished learning basics of HTML and CSS indvidually. I.e topic by topic …
  • Member Avatar for Dani
    Dani

    Replied To a Post in Where can I get a Website Done?

    You can set up a simple website yourself, with little technical knowledge, at Wix.com. That should be more than enough for your needs.
  • Member Avatar for Dani
    Dani

    Began Watching Where can I get a Website Done?

    I've recently started off a Cupcake business for myself and I really need a website done as most of my customers are struggling to find my business on the web. …
  • Member Avatar for Dani
    Dani

    Replied To a Post in Where will Twitter be in a few months?

    > I thought you'd have more of an appreciation of that aspect. I am not a believer in reinventing the wheel for no reason. But I do appreciate that often …
  • Member Avatar for Dani
    Dani

    Replied To a Post in Where will Twitter be in a few months?

    > What about twitter needs to be torn down and rebuilt? I suspect that, considering Twitter is operating heavily in the red, then two things need to change. 1) A …
  • Member Avatar for Dani
    Dani

    Replied To a Post in Where will Twitter be in a few months?

    Bring back the fail whale! Bring back the fail whale! I can’t possibly be the only person thinking this.
  • Member Avatar for Dani
    Dani

    Replied To a Post in Where will Twitter be in a few months?

    Sooooo that brings me back to how he bought something irrevocably broken (which Twitter acknowledged was the case in their "your break it, you buy it" lawsuit.) Now that has …
  • Member Avatar for Dani
    Dani

    Replied To a Post in Where will Twitter be in a few months?

    > His sensibilities are Qanon, porn, and fascists? No, not at all. Like I said, things are going to go to shit for a little bit. Things are going to …
  • Member Avatar for Dani
    Dani

    Replied To a Post in Where will Twitter be in a few months?

    > He paid $44 billion just to tear it to the ground? Not quite. He paid $44 billion just to tear it to the ground while kicking and screaming, and …
  • Member Avatar for Dani
    Dani

    Replied To a Post in Where will Twitter be in a few months?

    I mean, it's obvious things are going to go to shit for a little bit after laying off, in one fell swoop, most of the machine. That's why I said …
  • Member Avatar for Dani
    Dani

    Replied To a Post in How to remove URL parameter php

    And you used the exact code I have above? You don't accidentally have `?name=$2` instead of `?name=$1`, right?
  • Member Avatar for Dani
    Dani

    Replied To a Post in Which should I use } else { or exit; ?

    > The point I was trying to make is that there is functionally little difference between I disagree. While it's not apparent in the simple pseudocode that has been passed …
  • Member Avatar for Dani
    Dani

    Gave Reputation to JamesCherrill in Which should I use } else { or exit; ?

    And another thing… If the if block exits, then the “else” following it is redundant.
  • Member Avatar for Dani
    Dani

    Replied To a Post in Which should I use } else { or exit; ?

    > If I see a call to show_error then I’d expect that to show the error and return, not shut down my whole program. That makes very little sense in …
  • Member Avatar for Dani
    Dani

    Replied To a Post in Which should I use } else { or exit; ?

    I was presenting two possible solutions. I converted their multiple if statements to if-else and I also showed you can put exit at the end of an error message function …
  • Member Avatar for Dani
    Dani

    Replied To a Post in Where will Twitter be in a few months?

    Am I the only optimistic one here? I genuinely think that Elon will cull all the dead weight and corporate structure and attitudes, and successfully rebuild Twitter from the ground …
  • Member Avatar for Dani
    Dani

    Replied To a Post in Which should I use } else { or exit; ?

    if ($y = $link->prepare('SELECT id, password FROM usuarios WHERE username = ?')) { $y->bind_param('s', $_POST['username']); $y->execute(); $y->store_result(); if ($y->num_rows > 0) { show_error('Username exists, please choose another!'); } else if …
  • Member Avatar for Dani
    Dani

    Replied To a Post in Which should I use } else { or exit; ?

    I would do if (...) { } else if (...) { } else if (...) { } else { } It's not good practice to short circuit the page by …
  • Member Avatar for Dani
    Dani

    Began Watching Which should I use } else { or exit; ?

    Is this code correct? Or should I keep using } else { for (errors) until the end? if ($y = $link->prepare('SELECT id, password FROM usuarios WHERE username = ?')){ $y->bind_param('s', …
  • Member Avatar for Dani
    Dani

    Replied To a Post in How to remove URL parameter php

    If you look at the rewrite rule I created, it follows the format of A/B where A is a word consisting of lowercase letters, numbers, or a dash, and B …
  • Member Avatar for Dani
    Dani

    Replied To a Post in Where will Twitter be in a few months?

    > In other words, if it ain't broke, don't fix it. Who said it wasn't broke? Elon acquired a failing company. Twitter might have been making gross ad revenue, but …
  • Member Avatar for Dani
    Dani

    Began Watching Where will Twitter be in a few months?

    There's a list of advertisers that put ads on hold. But given the talent bleed, can it survive both problems of ad revenue and talent bleed? It really doesn't matter …
  • Member Avatar for Dani
    Dani

    Replied To a Post in How to remove URL parameter php

    Oh goodness, I see the problem with my recent code. The line: RewriteRule ^([a-z0-9]+)/([a-z0-9]+)$ $1/index.php?name=$2 [L] says that the URL should be in the form `[alphanumeric word]/[alphanumeric word]`. But the …
  • Member Avatar for Dani
    Dani

    Replied To a Post in Why is Social Media So Important Anyway?

    > Of course, if you were as popular as Facebook or Twitter that would be impossible. The more eyes you can attract the more likely you will be targeted by …
  • Member Avatar for Dani
    Dani

    Replied To a Post in How to remove URL parameter php

    I'm really sorry. I didn't get much sleep and admit I'm a little loopy, but i really don't see what is wrong with: Options +FollowSymLinks RewriteEngine on RewriteRule ^([a-z0-9]+)/([a-z0-9]+)$ $1/index.php?name=$2 …
  • Member Avatar for Dani
    Dani

    Edited Hi everyone, I'm ronjucreation11

    i am professional SEO expert and SEO consultant
  • Member Avatar for Dani
    Dani

    Replied To a Post in Why is Social Media So Important Anyway?

    > The recent debacle at Twitter is not COVID related. It's Elon and soon after the purchase I immediately wondered if car makers would advertise on the Twitter platform. This …
  • Member Avatar for Dani
    Dani

    Edited Hi everyone, I'm harrypeta

    I am working as a travel blogger to provide information about traveling
  • Member Avatar for Dani
    Dani

    Replied To a Post in DoublePrecision

    I'm not sure, but [maybe this could help you?](https://php-decimal.io/#introduction)
  • Member Avatar for Dani
    Dani

    Began Watching DoublePrecision

    Help me! I have this number 1726.16723958045672098127. How Can I register in my db MySql. Why is the number truncated?
  • Member Avatar for Dani
    Dani

    Replied To a Post in Why is Social Media So Important Anyway?

    Let me put it another way. Up until now, growth and demand went hand in hand. As Facebook grew over the past two decades, demand to advertise on Facebook grew …
  • Member Avatar for Dani
    Dani

    Replied To a Post in Why is Social Media So Important Anyway?

    I think the impact that Elon Musk will have on Twitter, and the larger social media ecosystem, has yet to be seen. So far he fired a bunch of people, …

The End.