11,530 Posted Topics
Re: It looks like the code was taken from [here](https://www.programiz.com/python-programming/examples/calculator) but it also appears in lots of other places such as [here](https://www.chegg.com/homework-help/questions-and-answers/program-make-simple-calculator-function-adds-two-numbers-def-add-x-y-return-x-y-function-s-q74297767) or [here](https://www.appservgrid.com/psam/Python_Samplifier--python1compute--Python_Program_to_Make_a_Simple_Calculator.html). Please always give credit where credit is due when copying/pasting someone else's code. Otherwise, it's code theft. While we have a community rule against copying/pasting from elsewhere … | |
Re: Hi Mark! Welcome to DaniWeb. What types of digital marketing do you focus on? | |
Re: Please explain what type of script you’re referring to? | |
Re: I would stick to stock image databases such as shutterstock.com or Adobe Stock Photos. Unfortuantely, I couldn't even begin to tell you what their collection of car images is like. If nothing like this exists, something you may wish to do once you've built your own database of royalty free … | |
Re: What is the model? Eg https://www.cyberpowerpc.com/ | |
Re: Just click the little code icon in the editor toolbar and copy/paste your code from your IDE along with explaining where you’re stuck and any compiler errors. | |
Re: It's a good strategy to use `var_dup()` to spit out the output of a variable, to make sure you're on the right track. Right after line 14, `$result = mysqli_query($MyConn, $query);`, then do `var_dump($result);` to make sure that you're actually correctly querying the database and getting a resultset. What does … | |
Re: I see that you posted your entire CSS file here, but it's impossible to understand what's going on without the HTML that actually utilizes it. For example, I'm not seeing which CSS rules you're using for your buttons (e.g. what are the classes/IDs of the buttons you want to make … | |
Re: You can get the current Unix time here: https://en.cppreference.com/w/cpp/chrono/c/time That should give you the number of seconds since 1-1-1970. Just take the number at the beginning of the code, take the number at the end of the code, and the difference is how many seconds your script took to run. | |
Re: Can you please post the code you have so far and where you are stuck or confused? | |
Re: Are you doing `$header .=` or `$headers .=`? Try adding right after the Content-Type line on line 36 of the code. Also, instead of `\r\n` use `$eol`. | |
Re: I have 25 years of SEO experience when it comes to online publishing. Very little eCommerce or local SEO experience. | |
I am trying to get the hang of Google Analytics 4. One of the conversions that we track is sign ups. I'm seeing a lot of conversions attributed to the Organic Social group. However, a lot of these conversions are people who found the site some other way (e.g. organic … | |
Re: Reddit, Facebook, and Twitter? Sorry, you're going to have to be a bit more specific. What are you hoping to accomplish? | |
I just racked my brain for the past hour trying to fix a bug, and learned something new in the process. I always thought that the jQuery function `.data('key')` was a wrapper for `.attr('data-key')`. It turns out that's not the case! Take the example: `<div data-key="foo">`: I can use `data('key', … | |
Re: It's obviously getting it from somewhere :) Please show us your full PHP file so we can see if we can diagnose it. Are there any `include()` or `require()` statements? Another thought is, is it in any Javascript files that are being used? | |
Re: Yes, and this was a mistake that I made many years ago with DaniWeb. The problem is that Google has a limited amount of crawl budget to crawl and index all the pages of your site. In our case, we were using up almost Google's entire crawl budget crawling thousands … | |
Re: You say you’ve attached the file but I’m not seeing a post attachment? | |
Re: Yes, it's true that you can create a disavow file if there are certain backlinks to your domain that exist on other sites (whether through no fault of your own, or through your use of a black hat SEO company). What about this, though? Do you have a specific question? … | |
Re: Hi and welcome to DaniWeb!! The problem that you are likely to encounter is that anti-spam functionality has become very sophisticated nowadays, and one of the things that it specifically singles out is when there is a one-off blast to thousands of recipients. For example, here on DaniWeb, we have … | |
Google has always said that all of their bots do not use cookies. I caught a screenshot on Google PageSpeed Insights that displayed a modal that I only have implemented for users with a specific cookie already set. So there you have it, Googlebot uses cookies. | |
Re: Hi there and welcome to DaniWeb! What brings you here? Tell us a little about yourself. | |
Re: Sorry, I'm not understanding your question. A list of leads are potential customers, clients, etc. You want to generate a list of these potential people to reach out to who may be interested in your product or service ... from a single person? Not sure what you mean about the … | |
Re: Hi and welcome to DaniWeb!! PHP gal here :) | |
Re: Hi there and welcome to DaniWeb. Feel free to ask any questions you may have along the way :) What are your interests, specifically? What type of dev work do you do? | |
Re: Unfortunately this is outside of my area of expertise, but I've retagged this topic with javascript and express, so hopefully you'll be able to attract more relevant helpers. | |
Re: At the risk of just parroting what everyone else said, backlinks are a crucial part of SEO, but that doesn't mean you need to pay for them or use shady techniques to acquire them. Anything other than naturally acquiring them by just having quality content that people will naturally want … | |
Re: It depends on what programming language you’re using. What database you’re using. Etc. How much web development experience do you have? | |
Re: Hi and welcome to DaniWeb! I had to snip your Facebook link because it violates our rules having it in your posts, but feel free to go into your control panel and add it as a post signature at the bottom of all your posts. | |
Re: > First, it has been a LONG time since Ive been here. Good memories from when I was young. This question is out of my wheelhouse, but just thought I'd reach out and say welcome back! | |
Re: Why are digital marketing trends country-specific like this? And why did you tag your question with Google AdWords? #SoManyQuestions | |
Re: From the beginning, the way that you learn anything, really. You can begin by downloading something like Wordpress and making small tweaks and customizations to it. That’s a good way of getting tour feet wet while doing something hands on, productive, and, of course, free. | |
Re: There's a lot more to it than that, of course. Otherwise, everyone would be able to easily game SEO! You need a good combination of strong backlinks also talking about those keywords, and in-depth content on your site also talking about those keywords, among other things. | |
Re: Are you sure you are pushing all files to the web server? For example, you have: require '../../php/PDO_Connection_Select.php'; require '../../php/GetUserIpAddr.php'; Are those files in the same relative location on the web server? Does the web server have the files at the locations described in the database? | |
Re: Web designers have a strong eye for design, especially as it relates to digital marketing and advertising. They may also be UI and UX experts, and, if not, work closely with UI/UX (user interface and user experience) people. They have experience doing wireframes and keeping up with the latest design … | |
Re: Don't we all want to know! The easy way is to pick a very non-competitive keyword. If you're the only one with a website about red and blue striped widgets used for cooking, then it should be pretty easy to rank #1 for the keyword *red and blue striped widgets … | |
Re: Done right, you should be able to guest post for free. Just make sure your content is relevant to the blog you’re asking to post on, informative for their readers, and not spammy. Here at DaniWeb, we allow guest posts as long as there is no link in the article … | |
Re: You say java, but you tagged the post c++ and javascript. I'm confused? | |
Re: I'm a user of Ahrefs and I really like them. Obviously they're a leader in the SEO industry. The only competitor I know of is Moz. The thing is, as others have pointed out, they aren't an analytics company. You need both: Google Analytics and Ahrefs. They aren't competitors. | |
Re: We’ve been through ten million versions of the homepage and none of them have ever worked for forum regulars. The current feed is what was in use during our peak, 2008-2011 years. I think the latest topics and latest post feeds are best designed for regulars. Recommended feeds perhaps too. | |
Just thought I would start up a discussion and ask everyone ... what got you into tech? For me, I was 4 years old, my parents got me an Apple IIGS, and, in reading the manual, it came with a cheat cheet for booting into a BASIC interpreter with Ctrl … | |
Re: Have you tried updating your video card drivers? Perhaps check your RAM? Did you confirm the professor you upgraded to is compatible with your existing motherboard? | |
Re: You're missing a closing curly bracket at the bottom of the document. You opened `int main()` but never closed it. > staffTWB is a structure and not an instance of the object. rproffitt is referring to `printEntry(staffTWB);` where you are passing staffTWB into the printEntry() function, which you aren't allowed … | |
The End.