• Member Avatar for Dani
    Dani

    Created Submit AMP page to Google Sitemap

    Is there an advantage to submitting my AMP pages to my Google sitemap? I am using `<link rel="amphtml" ...` but I was wondering if submitting them lead to faster discovery? …
  • Member Avatar for Dani
    Dani

    Began Watching Submit AMP page to Google Sitemap

    Is there an advantage to submitting my AMP pages to my Google sitemap? I am using `<link rel="amphtml" ...` but I was wondering if submitting them lead to faster discovery? …
  • Member Avatar for Dani
    Dani

    Replied To a Post in How do you handle your CAPTCHA?

    Yes, I use recaptcha.
  • Member Avatar for Dani
    Dani

    Replied To a Post in How to check if default value =0 or =1 in msql php?

    I am really sorry then. Take your time .
  • Member Avatar for Dani
    Dani

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

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

    Began Watching Hi everyone, I'm Amr_8

    Hiii How are you every one im very happy to be here with all of you & i hopeto enjoy our time togather Thanks :)
  • Member Avatar for Dani
    Dani

    Replied To a Post in Best Social networking sites for SEO

    I’ll second the recommendation for Ahrefs if you want to keep track of your backlinks. My biggest complaint with it was it often found realllllllly old links for the first …
  • Member Avatar for Dani
    Dani

    Began Watching Best Social networking sites for SEO

    which social sites is best for SEO Facebook Google+ Twitter Pinterest
  • Member Avatar for Dani
    Dani

    Replied To a Post in How to check if default value =0 or =1 in msql php?

    I haven’t slept well the past couple of days and I’ve been working nonstop. I’m already in bed now so I’ll check this out tomorrow.
  • Member Avatar for Dani
    Dani

    Replied To a Post in how to create blog website

    I know this is an old thread but people seem to still be interested in it so I’d like to echo Wordpress. I just came across https://www.wpdotnet.com/ but it seems …
  • Member Avatar for Dani
    Dani

    Began Watching how to create blog website

    hi all iam working as software developer i wish to create my blog website using asp.net and C# so any one have idea so please help me in this Please …
  • Member Avatar for Dani
    Dani

    Replied To a Post in ENEMY SHOOTING NON STOP

    Sorry, I can't help, because unfortunately I have no python experience. But I've tagged this thread pygame so hopefully it will get more eyeballs and someone will be able to …
  • Member Avatar for Dani
    Dani

    Began Watching ENEMY SHOOTING NON STOP

    which code can i use to make enemy shoot at the player non stop and when the bullet catches the player the health decreases any kind of help i appreciate …
  • Member Avatar for Dani
    Dani

    Replied To a Post in INSERT INTO with LAST_INSERT_ID()

    Now I think I'm wrong. Now I'm thinking that LAST_INSERT_ID() is session-based? Still hoping for an answer from someone :)
  • Member Avatar for Dani
    Dani

    Replied To a Post in INSERT INTO with LAST_INSERT_ID()

    W3Schools says: The LAST_INSERT_ID() function returns the AUTO_INCREMENT id of the last row that has been inserted or updated in a table. I said: It runs the primary key id …
  • Member Avatar for Dani
    Dani

    Replied To a Post in INSERT INTO with LAST_INSERT_ID()

    > Why not just disable the submit button on the first click? We're talking about race conditions that are faster than javascript would be able to disable the submit button …
  • Member Avatar for Dani
    Dani

    Replied To a Post in INSERT INTO with LAST_INSERT_ID()

    No, LAST_INSERT_ID(id) does not return an incremented id. It returns the primary key ID of the last successful insert operation.
  • Member Avatar for Dani
    Dani

    Replied To a Post in INSERT INTO with LAST_INSERT_ID()

    No, id is the autoincrement ID value. However, the insert failed as a result of a failed username duplicate key, and therefore we trigger the ON DUPLICATE KEY UPDATE portion …
  • Member Avatar for Dani
    Dani

    Replied To a Post in INSERT INTO with LAST_INSERT_ID()

    The `ON DUPLICATE KEY UPDATE` portion doesn't require that it be a duplicate primary key. An example scenario is the DaniWeb members table. There's a record for each user. There's …
  • Member Avatar for Dani
    Dani

    Replied To a Post in Lazy Loading GAM

    I want to add that, per the above setup, lazy load is working as expected.
  • Member Avatar for Dani
    Dani

    Created Lazy Loading GAM

    I am using GAM as so: <script async src="https://securepubads.g.doubleclick.net/tag/js/gpt.js"></script> <script> window.googletag = window.googletag || {cmd: []}; googletag.cmd.push(function() { googletag.defineSlot('/86406173/ArticleLeaderboard', leader_size, 'div-gpt-ad-1321481451196-0').addService(googletag.pubads()); // etc. googletag.pubads().collapseEmptyDivs(); googletag.pubads().enableLazyLoad(); googletag.pubads().enableLazyLoad({ fetchMarginPercent: 200, renderMarginPercent: 100, …
  • Member Avatar for Dani
    Dani

    Began Watching Lazy Loading GAM

    I am using GAM as so: <script async src="https://securepubads.g.doubleclick.net/tag/js/gpt.js"></script> <script> window.googletag = window.googletag || {cmd: []}; googletag.cmd.push(function() { googletag.defineSlot('/86406173/ArticleLeaderboard', leader_size, 'div-gpt-ad-1321481451196-0').addService(googletag.pubads()); // etc. googletag.pubads().collapseEmptyDivs(); googletag.pubads().enableLazyLoad(); googletag.pubads().enableLazyLoad({ fetchMarginPercent: 200, renderMarginPercent: 100, …
  • Member Avatar for Dani
    Dani

    Replied To a Post in What will be SEO trends in 2020?

    Voice search is huge for quick things, between Siri, Google Assistant, etc. However I don’t think it’s going to permeate all industries. For example, people still won’t be using voice …
  • Member Avatar for Dani
    Dani

    Replied To a Post in How do you handle your CAPTCHA?

    As an end user or as a web developer using their API?
  • Member Avatar for Dani
    Dani

    Created How do you handle your CAPTCHA?

    Do you still use reCAPTCHA or something homemade? For us, we use jQuery to inject a hidden form field upon form submission that sends a little time sensitive and cookie …
  • Member Avatar for Dani
    Dani

    Began Watching How do you handle your CAPTCHA?

    Do you still use reCAPTCHA or something homemade? For us, we use jQuery to inject a hidden form field upon form submission that sends a little time sensitive and cookie …
  • Member Avatar for Dani
    Dani

    Replied To a Post in INSERT INTO with LAST_INSERT_ID()

    There is. The `LAST_INSERT_ID()` functon actually only works when there is one. Basically what the SQL query above is attempting to do is deal with both inserting and updating records …
  • Member Avatar for Dani
    Dani

    Replied To a Post in Filter by annoyance

    Ah, yup!
  • Member Avatar for Dani
    Dani

    Replied To a Post in INSERT INTO with LAST_INSERT_ID()

    Also ... not only is it how we learn, but it's the point of DaniWeb. If no one asked a question at DaniWeb because they didn't want to show their …
  • Member Avatar for Dani
    Dani

    Replied To a Post in Filter by annoyance

    I'm not sure what you mean by context menu. Do you mean the forums on the homepage that show which ones have new posts for you?
  • Member Avatar for Dani
    Dani

    Replied To a Post in INSERT INTO with LAST_INSERT_ID()

    Feel free to ask anyways. That's how we learn, right?
  • Member Avatar for Dani
    Dani

    Gave Reputation to madDOGim in Formatted Integer

    I solved a problem some day ago. In that problem you had to format an integer. I found it hard to solve. So here I am sharing my problem with …
  • Member Avatar for Dani
    Dani

    Replied To a Post in Filter by annoyance

    > If I want to browse latest topics re programming ihave to; But, how often do you do that? The category-level forum listings are geared more towards the new DaniWeb …
  • Member Avatar for Dani
    Dani

    Replied To a Post in INSERT INTO with LAST_INSERT_ID()

    As mentioned in my previous post, row-level locking allows multiple simultaneous updates to the same table. The individual rows are locked for update instead of the entire table.
  • Member Avatar for Dani
    Dani

    Replied To a Post in Started using Cloudflare

    I also want to mention that their stock isn't doing too shabby either.
  • Member Avatar for Dani
    Dani

    Created Started using Cloudflare

    I started using Cloudflare yesterday, and I must say, I'm incredibly impressed with them. They have a pretty well-rounded featureset that goes above and beyond just being a static CDN.
  • Member Avatar for Dani
    Dani

    Began Watching Started using Cloudflare

    I started using Cloudflare yesterday, and I must say, I'm incredibly impressed with them. They have a pretty well-rounded featureset that goes above and beyond just being a static CDN.
  • Member Avatar for Dani
    Dani

    Replied To a Post in Html5 video tag show play/pause button

    Google says you can use the onclick handler as so: `onclick="this.paused ? this.play() : this.pause();"` to toggle between playing/pausing when clicking on the video.
  • Member Avatar for Dani
    Dani

    Replied To a Post in Html5 video tag show play/pause button

    Semantics!! It's an HTML5 video element. The element is represented by an HTML tag.
  • Member Avatar for Dani
    Dani

    Began Watching Html5 video tag show play/pause button

    Helloi want to put a play/pause button on a html5 video tag. Any suggestions?
  • Member Avatar for Dani
    Dani

    Replied To a Post in Make a like button, that show who has liked my post, on a social network.

    Glad to hear you got it working. I'll mark this question solved.
  • Member Avatar for Dani
    Dani

    Marked Solved Status for Make a like button, that show who has liked my post, on a social network.

    How can I make a like button, that show who has liked my post, on a social network?
  • Member Avatar for Dani
    Dani

    Replied To a Post in 6 Digital Marketing Mistakes To Avoid In 2020

    Thanks!
  • Member Avatar for Dani
    Dani

    Began Watching 6 Digital Marketing Mistakes To Avoid In 2020

    It can often be tough to determine what direction the digital marketing world is going, considering how it is evolving in a time where technology is continually changing and evolving. …
  • Member Avatar for Dani
    Dani

    Replied To a Post in Make a like button, that show who has liked my post, on a social network.

    Here's a link to where you can configure your Facebook widget. https://developers.facebook.com/docs/plugins/like-button/ Change the layout to anything other than 'button' to include a count of how many people have liked …
  • Member Avatar for Dani
    Dani

    Replied To a Post in Is it unethical to buy Instagram or Twitter followers?

    > I disagree. The title of the thread asked where to buy Instagram followers. That certainly sounds like an attempt to mislead the public. Paying people to be your friends …
  • Member Avatar for Dani
    Dani

    Replied To a Post in Make a like button, that show who has liked my post, on a social network.

    There’s a snippet of Javascript you can put on your site to show how many Facebook likes it got, how many Tweets, etc. I’m on my cell now not near …
  • Member Avatar for Dani
    Dani

    Began Watching Make a like button, that show who has liked my post, on a social network.

    How can I make a like button, that show who has liked my post, on a social network?
  • Member Avatar for Dani
    Dani

    Replied To a Post in Is it unethical to buy Instagram or Twitter followers?

    > This thread is a continuation of a conversation that I started here. As Dani correctly pointed out, the discussion belonged in its own thread and should not have taken …
  • Member Avatar for Dani
    Dani

    Began Watching Is it unethical to buy Instagram or Twitter followers?

    This thread is a continuation of a conversation that I started [here](https://www.daniweb.com/digital-media/digital-marketing/threads/522661/where-to-buy-instagram-followers#post2261270). As Dani correctly pointed out, the discussion belonged in its own thread and should not have taken over …

The End.