11,530 Posted Topics

Member Avatar for Fadi_3

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.

Member Avatar for Dani
0
47
Member Avatar for Kate Lauren

Hi Kate and welcome to DaniWeb!! What are you using for your store? (Magento, Shopify, etc.) How long have you been doing it for?

Member Avatar for Dani
0
17
Member Avatar for sols4comp

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?

Member Avatar for Dani
0
152
Member Avatar for kevinthomppsonn

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.

Member Avatar for Dani
0
18
Member Avatar for Dani

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, …

Member Avatar for Dani
0
1K
Member Avatar for Dani

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 …

0
271
Member Avatar for Passy

And be careful of SQL injection attacks! Always escape any variables containing user-entered data before including them in your SQL queries.

Member Avatar for Dani
0
76
Member Avatar for aurebel92
Member Avatar for Justinrobinson
Member Avatar for Quaries

Umm ... more legal methods, perhaps? There's tons and tons of way to make money online. Stick with legal routes. :)

Member Avatar for Dani
0
34
Member Avatar for harshadgowda
Member Avatar for harshadgowda

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 …

Member Avatar for Dani
1
53
Member Avatar for orangeversion

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 …

Member Avatar for Dani
0
131
Member Avatar for dian_5

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?

Member Avatar for Dani
0
54
Member Avatar for orangeversion
Member Avatar for Violet_82

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 …

Member Avatar for Violet_82
0
356
Member Avatar for duptiagnas

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.

Member Avatar for Emmason
0
734
Member Avatar for tun712

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

Member Avatar for SteveRocknrolla
1
80
Member Avatar for Sananil

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);` …

Member Avatar for Dani
0
275
Member Avatar for KWaters
Member Avatar for sundaresh12

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 …

Member Avatar for theseoteams
0
491
Member Avatar for mexabet

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

Member Avatar for Dani
0
361
Member Avatar for carla_3

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?

Member Avatar for Dani
0
96
Member Avatar for nishita_1

It looks like you're outputting a binary string (a PDF, perhaps?) but you're not setting the proper HTTP header. What happens if, right above line 81 in the code above, where you call Output(), you do: `header('Content-Type: application/pdf');`

Member Avatar for Dani
0
716
Member Avatar for Joseph Raj

You can get information about a binary file submitted via a POST form from $_FILES['photo'] However, it's binary data. There's no PHP array that I know of that contains the binary data. The best you can do is use `file_get_contents()` or something of the sort to load the file from …

Member Avatar for Dani
0
24
Member Avatar for Sananil

You are setting cookies to be the current timestamp + 86400 \* 30. There are 86400 seconds in a day. That means you're setting cookies to expire after 30 days, not 30 minutes. Instead you want to do current timestamp + 60 \* 30. That will be 60 seconds * …

Member Avatar for Dani
0
660
Member Avatar for alexxnorton01

I have no experience with RevGlue. A long time ago CommissionJunction (CJ) was the big player. I would recommend you check out [Affiliate Summit](https://www.affiliatesummit.com/blog) if you aren't already familiar with them. Good luck!

Member Avatar for Dani
0
70
Member Avatar for Alexis_fr

Sorry, I'm a bit confused by the question you're asking. Why not use that file-directory-list available at Github you linked to? What do you mean by a link to [...] like in the first code? The first code block you provided has no links?

Member Avatar for Dani
0
156
Member Avatar for Chris Morris

Sorry, I'm not quite sure I understand your question. What is your business idea? What do you mean about which devices are suitable for internet connectivity? Desktops, laptops, tablets, and phones are all suitable devices to connect to the internet. I'm sorry, I'm not understanding your question.

Member Avatar for rproffitt
0
30
Member Avatar for falotfalon

While it's true that the news keeps saying that you can't get infected from food, we are being *super duper* careful anyways. Although restaurants are currently available for outdoor service where we live, we are avoiding restaurants completely. This includes restaurant delivery!! There have just been too many articles in …

Member Avatar for Dani
0
63
Member Avatar for rproffitt

Looks to be that a post was created in the database and then rolled back, because the transaction failed for one reason or another. I'll inspect the server log in a bit to see if I can figure out why the query didn't go through.

Member Avatar for rproffitt
0
85
Member Avatar for edwardphillips7
Member Avatar for nanakumi75
Member Avatar for hoanggviett
Member Avatar for jonesemma

Do you have an app in mind? You can make money by selling your app in the app store. You can use a freemium model where the app is downloaded for free but then users pay for upgrades and premium features. Or you can sell advertising within your app.

Member Avatar for _deviance_
0
153
Member Avatar for pritaeas

Don’t you guys remember how much everyone was complaining that the quality of new topics being asked was worse than the worst? Don’t you guys remember how you criticized what a turn-off it was to visit DaniWeb and see nothing but low quality spammy questions being asked? Ever since making …

Member Avatar for Dani
0
622
Member Avatar for vishnuvis

I unfortunately haven’t had much success with guest post / outreach. Backlinks just don’t affect my SEO as much nowadays. Now I’m focusing more on creating more content on my own site and I’ve found it moves the needle a lot more.

Member Avatar for Holistic_1
1
628
Member Avatar for MudassirIjaz
Member Avatar for Sponge_2

I don't know Python but I do have a lot of experience with MySQL. Does it work if you're not trying to insert BLOB content? Is the MySQL column set to the right data type?

Member Avatar for AndreRet
0
657
Member Avatar for Sourav_8
Member Avatar for stefh
Member Avatar for Dani

Is it appropriate to noindex AMP pages whose desktop canonicals are noindexed? Currently, my valid but low-quality pages are noindexed. They point to an amphtml version, and that AMP page is noindexed as well.

Member Avatar for bradvictor1
1
327
Member Avatar for Dani

Do you think that the forum software that's used makes a difference for a community? Suppose, for example, forum software all has the same options available. And we're talking about the same community of people. For a forum visitor, does seeing powered by vBulletin strike a softer note than seeing …

Member Avatar for Amit6622
0
2K
Member Avatar for loudestsoul

Hi there! What made you start that site? I really like the design you picked.

Member Avatar for Dani
0
25
Member Avatar for markflayd
Member Avatar for bradvictor1

It absolutely depends on the industry and what keywords you're trying to rank for. You can rank for your brand name with barely any effort at all. Does the site already have backlinks? If there's a strong link profile, then use one of the many keyword tools (Moz, Ahrefs, etc.) …

Member Avatar for Dani
0
83
Member Avatar for texelbee

Hi there! I'm so sorry! I had thought I had answered this earlier but I guess the post didn't go through for some reason, so here I am posting again. I see that the code you've provided loops through all the list of aircraftregistration choices for the select box. Are …

Member Avatar for Biiim
0
312
Member Avatar for yousufkamara
Member Avatar for saif_15

You mean by using an SSL certificate so that the website is accessible via https:// and not just via http:// ??

Member Avatar for Dani
0
167
Member Avatar for umeshamin
Member Avatar for Dani
3
29

The End.