11,557 Posted Topics
Re: > As such, wouldn't your teachers have such answers? Unfortunately, very few front-end web developers take the time to learn and understand SEO enough to incorporate it into their HTML. As such, most SEO firms operate independently. My guess is that's the boat you are in ... you work for … | |
Re: I'm not too good with regex, but if you're using jQuery, there's a built-in [utility](https://api.jquery.com/jquery.parsehtml/) where you pass it an HTML string, and it converts that string to valid dom nodes for you to do what you want with. Hope maybe this will help with whatever it is you're trying … | |
Earlier today, I was in need of an easy way to delete files that mached a specific format within a series of folders. For the case of this example, let's say all CSS files. I discovered I could do it with: find . -name '*.css' -delete The . represents the … | |
Re: It depends who your target audience is. Each one gives the end user a different user experience, may evoke different emotions, and may subconsciously influence how the end user perceives and uses your site. On a platform being used to accomplish business goals, I would argue that less is more, … | |
I just spent way too long realizing that by setting the boundary property for Twitter Bootstrap popover Javascript to viewport (I believe it's parent element by default), it gets rid of the flickering issue I was having with popovers triggered on hover. If anyone else is having that problem, this … | |
Re: Yes, that's definitely a bootstrap design. | |
Re: Hi there and welcome to DaniWeb. So sorry for taking a week to respond to you. | |
Re: This is true, but to take it a step further, use hreflang HTML tags if you have content in multiple languages. Local SEO is a huge industry in and of itself, and the techniques you use to rank a site with a local target audience are very different than the … | |
Re: I'm attaching the image here so everyone can see the image without having to click on a third-party link (that might be deleted, etc. in the future).  It's not a weird item. It just is a link from within phpMyAdmin to create a new table in your database. If … | |
Re: I’m on a mobile browser right now, but frankly when I go to your homepage, it looks like the million other sites that use a pre-existing jQuery-heavy theme. As mentioned, I’m on my phone, so I can’t tell for sure that’s what you’re using without inspecting the DOM, but that’s … | |
Re: The MySQL function UNHEX() "interprets each pair of hexadecimal digits as a number and converts it to a character". However, you're trying to store those characters in MySQL integer columns. Store them as varchars instead. | |
Re: You say the following calendar program, but what calendar program? Please include it as code in a post or as a text attachment. | |
Are you a student studying programming from home? Are you an employee who is working from home for the time being? Or are you a self-employed freelancer? Has your work shifted during this time? | |
Re: Why can't it be a web app (HTML, Javascript, etc.) instead of be limited to a mobile device? | |
Re: I've recategorized this as a discussion thread. | |
There was a huge fluctuation in the SERPS yesterday that left a lot of people baffled by the unannounced algorithm ... until Google officially announced it was a bug that was rolled out. Unlike just about everyone who commented on WW, SEW, etc., I actually fared well from it, until … | |
I need some quick regex help with matching the same word twice in a pattern. For example, I'm trying to match on the PHP code: `if (isset($foo) AND $foo)` or `if (isset($bar) AND $bar)` where `$foo` and `$bar` are any valid variable name. However, I don't want to match on … | |
Re: When I did that Google search, all I got was a whole bunch of tutorials on how to use Adobe Camera Raw with before and after comparisons. | |
Has anyone read about any studies, or has any anecdotal evidence, that might demonstrate that detailed schema.org/Person markup about an author improves the authoritativeness of an article or tutorial in Google's eyes? | |
Re: Please start a new discussion asking your questin instead of "hijacking" this 7 year old topic. | |
Re: Hi there and welcome to DaniWeb! I started this site back in 2002 and I still run it fulltime today. | |
Re: Record your teachers, with their permission of course. Learn how to use video and sound editing apps. Create fun little videos that will help you and other students learn lessons or use them to study with. Publish them on Youtube. Make money from Youtube ads. | |
Re: I have no experience with PDO but I'm pretty good at basic MySQL. Here is what I am understanding so far: **users table:** user_id firstname lastname username email **courses table:** cid c_name code duration start However, I'm a bit confused what you're asking. When you have `SELECT *` you are … | |
Re: You have the code `onkeydown="IgnoreAlpha(event);"` to run the IgnoreAlpha() function on a key down event on the select. Can you show the code for IgnoreAlpha()? Thanks! | |
Re: This appears to just be a homework question. Do you have a question about it? Where are you stuck? How can we help you? Please provide your code along with any errors you're having or where you're stuck so we can try to help. | |
Re: It’s weird because when I was in my teens and early 20s, I absolutely needed background noise while I coded. Usually I would keep the TV on in the background to something I could half listen to while I worked. Then I started working out of an office in my … | |
I'm noticing Googlebot is not respecting my robots.txt. I'm seeing Googlebot's user agent crawling pages that have been in my robots.txt file for many months. Some of them are showing up in GSC as "Indexed, though blocked by robots.txt" with Last crawled dates indicated as recent as yesterday. Additionally, I'm … | |
Re: You mention you have a question? I see you’ve posted your homework assignment, but what is your question about it? We won’t just do your assignments for you. Please post the code you have so far along with where you’re stuck, and we’ll help you to learn. | |
Re: Hi Kate and welcome to DaniWeb!! What are you using for your store? (Magento, Shopify, etc.) How long have you been doing it for? | |
Re: So sorry for the delay in replying to this. Can you show us the code for `test_input()`? Is that the function you're saying is failing? What input are you entering and what error are you expecting to see? | |
Re: Hi Kevin. Very nice to meet you!! I have 20 years of experience in digital marketing, and I try to answer as many questions as I can in these forums. However, I have very limited eCommerce experience. | |
Google search console flagged a couple of my AMP pages with the error: Error in required structured data element When I use the URL inspection tool, it says: Linked AMP version is valid with warnings Error in required structured data element But in the HTML section of the crawled page, … | |
This question specifically relates to PHP's Memcached library when specifying a server key and adding multiple keys at once. **Question one**: Is it true that PHP's setMultiByKey() doesn't take advantage of the memcached server's native support for setting multiple keys at once, but that the logic is on PHP's side … | |
Re: And be careful of SQL injection attacks! Always escape any variables containing user-entered data before including them in your SQL queries. | |
Re: Hi there and welcome to DaniWeb!! | |
| |
Re: Umm ... more legal methods, perhaps? There's tons and tons of way to make money online. Stick with legal routes. :) | |
| |
Re: Hi there and good question! If you want to redirect your website to a different domain name, you need to use an HTTP 301 Permanent Redirect from every old page to its new counterpart. For example, old-domain.com/page1.html should redirect to new-domain.com/page1.html and old-domain.com/page2.html shoudl redirect to new-domain.com/page2.html Do a 1-to-1 … | |
Re: PPC, or pay per click, is when you use Google Ads to advertise on the Google search results by bidding on keyword searches. You pay per click for each visitor you get. SEO, or search engine optimization, is the set of skills to optimize your placement organically in the search … | |
Re: At first glance, this looks like spam. But you actually linked to a free Github resource that I was actually looking for this weekend. I’ll check it out later today. Are you one of the developers? | |
Re: It would probably help if you let us know *why* you wanted to do it in a less performant way, using a subquery? This is thoroughly untested, but I guess you could do something like: UPDATE books SET location_id = 2 WHERE location_id IN ( SELECT location_id FROM books WHERE … | |
Re: It looks as if you're having difficulty with selecting elements. On line 49 of your code, you are getting elements with the name r1, but there are no elements with that name. There are elements that have that *class*, but not that name. | |
Re: If I remember correctly, you have to use Adobe's proprietary Typekit in order to use their fonts on the web. You have to continuously pay for a Typekit license for as long as the font is in use on the web, according to their licensing. https://helpx.adobe.com/support/fonts.html | |
Re: Can you provide the updated code because, for example, the error log says that mysql_query() is invalid on line 183, but in the code you provided, there is no mysql_query() function being called on line 183. However, I do see that you have on line 179 above `$query = mysql_query($sql);` … | |
Re: There are many reasons why your site might not be ranking as well as you would hope. First of all, think of how MANY people there are in this world who offer SEO services. Then think that every single one of these people keep up with the latest SEO trends … | |
Re: My guess is there's something wrong with your regex. I'm not familiar enough with regex. What are the purposes of the {brackets} in the preg_match? For some reason preg_match() is being returned false even if the current script is login.php | |
Re: Yes, please show us the code you already have so we can see where it is that you're stuck. Is this a homework assignment that doesn't allow you to use the sum function? |
The End.