11,566 Posted Topics

Member Avatar for adamsmithh
Member Avatar for Paulo_7

I’ve had much success with the server side implementation of OAuth and I always find the JS version a but tricky. Is the code above modified properly with your app ID and API version?

Member Avatar for Dani
0
267
Member Avatar for Carlloos_Lowery

Our aggressive spam bot automatically flagged your post because there was what it detected to be a spammy link in the post. I've accepted the post and unbanned you but removed the actual link, just in case it was spam. I was not able to find any of the javascript …

Member Avatar for Dani
0
118
Member Avatar for ButcherHix
Member Avatar for Pirakavi

When you load the page, what does the actual HTML look like for the button? Does it properly fill in the correct values for data-doctor-id, data-name, etc?

Member Avatar for Dani
0
206
Member Avatar for Dani

Someone had posted recently (can't find the thread right now, I think it might have been via private message) asking for the ability to mark topics read through the cog dropdown when viewing the list of topics. If you clear your browser cache to freshen the javascript files, then you …

Member Avatar for Dani
1
559
Member Avatar for Billy_8

Sorry for taking so long to see your post. Do you have it straightened out now? Perhaps post the code for reCAPTCHA that you are using and we can see where the bug is. Are you using a plugin? WordPress or something? (Sorry I didn’t click the link to your …

Member Avatar for Dani
0
177
Member Avatar for Passy

Line 75 of the code snippet you provided says `$result = $db->query($sql);`. Where you do create $db as a new database connection? I assume that's happening in line 71 where it says require_once(), but my guess is that there's still no global $db variable that contains the connection.

Member Avatar for Dani
0
1K
Member Avatar for Prince_31

Sorry, your code and explanation are very long and confusing. It's late and I'm having a hard time understanding what you're asking for. That's probably why you haven't gotten any respones yet. However, I'm REALLY good at PHP. Maybe if you could very briefly (in not more than a sentence …

Member Avatar for Dani
0
258
Member Avatar for charu1sage

Hi and welcome to DaniWeb! Perhaps less self-promotion moving forward though.

Member Avatar for Dani
0
134
Member Avatar for weballways

What do you mean it helps you for a longer time? Longer than what? Are you comparing organic vs PPC? What is organic SEO longer than?

Member Avatar for Dani
-1
105
Member Avatar for shivakrao83

Hi Shiva! Very nice to meet you. What aspects of online marketing are you into? We have a digital media and marketing category here at DaniWeb.

Member Avatar for Dani
0
87
Member Avatar for nomirobin

Sorry for taking so long to see this post and respond to it. What is an upper line user? I guess you're saying that if a user referred someone directly, give them 5 points, and then additionally give them 3 points if someone they refer refers someone. Hmm, let me …

Member Avatar for Dani
0
153
Member Avatar for Akinjide

Well, you could set your YouTube videos to unlisted and then use a CMS in which the pages with the embedded videos are only accessible after paying. I'm not sure if this violates the YouTube terms of service, however. Additionally, anyone with the URL to the video would be able …

Member Avatar for Dani
0
153
Member Avatar for JAIYANESH

What happens if you use the `mysql_error()` function to fetch the text message from the last MySQL operation? Right before your while statement, do `echo $mysql_error($samb);`. What's the error?

Member Avatar for Dani
0
92
Member Avatar for Alejandro_10
Member Avatar for florawarner
Member Avatar for larry29936

I think this is the same question you asked here: https://www.daniweb.com/programming/web-development/threads/522286/problem-calling-function#post2260006 Is this question different?

Member Avatar for Dani
0
367
Member Avatar for ramkrishna.dhakad

Per Mozilla documentation: > The keydown event is fired when a key is pressed. Unlike the keypress event, the keydown event is fired for all keys, regardless of whether they produce a character value. The keydown and keyup events provide a code indicating which key is pressed, while keypress indicates …

Member Avatar for Dani
0
636
Member Avatar for brhane163453

When connecting to a database, you need to specify the server host. If it's the same machine, you would specify 'localhost'. However, if it's a different machine, you would specify either the hostname on the network or IP address of the other machine. If both machines are properly configured on …

Member Avatar for Dani
0
115
Member Avatar for Monira Masia
Member Avatar for BrightJovanny

You want to include a shared header and a shared footer. Typically this is done with a server-side language such as PHP or Python. You can get started with an existing CMS (something that takes care of all of this for you, and more) such as Wordpress.

Member Avatar for Dani
0
161
Member Avatar for Ardi Daullja

The above code will let you do it with plain javascript. Are you using something like jQuery by any chance?

Member Avatar for Dani
0
532
Member Avatar for Zinavo

What do you mean how do you? As in what tools are used to try to be most efficient and keep all your ducks in a row? Where to go to keep up to date with all the topics? Sorry, your question is just a bit broad and I want …

Member Avatar for Dani
0
106
Member Avatar for Stefce

As gentlemedia points out, there are lots of free tools available online to easily beautify Javascript (properly indent it, etc.) However, javascript minifiers replace understandable variable names with meaingless names a, b, c, d, etc. You might be able to understand `total = price_of_apples + price_of_pears` but seeing lines like …

Member Avatar for Dani
0
897
Member Avatar for eDominations
Member Avatar for Hu99.Kappa

Can you please show the code you’ve attempted so far? We can help you if you show us what you tried and where your stuck. It’s considered rude to just ask us to do your homework for you.

Member Avatar for JamesCherrill
-2
769
Member Avatar for marcos goes

Sorry, this is an English-only community. Can you explain what you want in English please?

Member Avatar for Dani
0
167
Member Avatar for erendeniz
Member Avatar for Reverend Jim
0
93
Member Avatar for TheLinuxnerd

I have no idea what clickbank was or who the target demographic is. But I guess you would start a mailing list by creating a webpage promoting your mailing list and the benefits and advantages of signing up for it.

Member Avatar for Dani
0
234
Member Avatar for Simon Munene
Member Avatar for maxmayer392

Hi Max. Nice to meet you. You say you used to work as a game developer? What are you doing nowadays?

Member Avatar for Dani
0
87
Member Avatar for Dani

Anyone see any fun april fools pranks on the web today? I think most companies (I know Google has) have decided not to do it this year.

Member Avatar for Reverend Jim
1
612
Member Avatar for macfan

Hmm, that's really weird. I'm not having a problem uploading a new avatar. Maybe someone else can try and see if they're having issues?

Member Avatar for Dani
1
510
Member Avatar for shantuli

I'm in a very giving mood today ;) Usually I don't just give the answer to homework problems outright like I am now. I'd rather see some effort put in on your end. So consider yourself very lucky. The following is the pseudocode for the program. Think about what each …

Member Avatar for zunam
-5
81K
Member Avatar for JAIYANESH

The error `Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, boolean` means that your PHP code is expecting a MySQL result set, but instead it's getting a boolean (TRUE / FALSE). This happens when your MySQL query fails due to an error and it returns FALSE on failure. If your …

Member Avatar for Dani
1
347
Member Avatar for larry29936

Your code `<a href="<?php echo "/{$file}";?>">` is a link to the actual .iso file you want them to download. Instead, you want to create a new page such as download.php?file=123 where an ID for the file is passed in as a parameter. When that page is accessed, it increments a …

Member Avatar for larry29936
1
605
Member Avatar for serhii

DaniWeb doesn't have a lot of tutorials, really. We are mostly a chat community offering both group and one-on-one chat. If you're stuck with something, in particular, in terms of migrating, then we can help you with that. However, WordPress is a blogging platform / CMS and Magento is specifically …

Member Avatar for Dani
0
163
Member Avatar for Joseph_49

What does it do? And what would be the advantage of converting it to Python?

Member Avatar for rproffitt
0
583
Member Avatar for Ruba_3
Member Avatar for Dani

What is the difference between setting a cookie domain to `www.site.com` vs `.www.site.com` when I want to limit a cookie to the www subdomain?

Member Avatar for macfan
0
818
Member Avatar for Dani

In light of the current world we live in, and an age of social distancing, what can DaniWeb do to do a better job of connecting its members? It was always my goal of Dazah / DaniWeb Connect that it be used to connect people who work from home or …

Member Avatar for macfan
0
774
Member Avatar for larry29936

Try `<input type="image" src="images/button_send-email.png" alt="Email">` You can see according to [W3](https://www.w3.org/TR/html401/interact/forms.html#h-17.4.1) that `type="image"` creates a graphical submit button.

Member Avatar for Dani
0
704
Member Avatar for Lincoln=1cent
Member Avatar for Lincoln=1cent
0
243
Member Avatar for linkstore

I dunno, rproffitt. I don't really put a whole lot of weight in those things because they are soooo cookie cutter. For example, he got dinged because "There are 5 static components without a far-future expiration date." But maybe that was by design? There are times when you actually do …

Member Avatar for Dani
0
279
Member Avatar for mycontentstore.
Member Avatar for Kumar_1975
Member Avatar for ankushgarg

Hi there! Super nice to meet you. So sorry I didn't see this forum thread until now. Welcome!!

Member Avatar for Dani
0
480
Member Avatar for Xozz

Nice to meet you. I wrote DaniWeb in PHP. I’ll check out your game a little later. I actually just recently woke up and am just surfing the web in bed before I hop into the shower. How’s Coronavirus where you are?

Member Avatar for Dani
0
162
Member Avatar for Lilimae

The End.