11,530 Posted Topics

Member Avatar for Dani
0
2K
Member Avatar for kesavankani

Sorry I'm confused by your question. You created four select boxes: one asking to select state, one district, one city, one town. You want to change the other three each time you change the state select box, is this correct? I think what you're asking is similar to what we …

Member Avatar for Dani
0
395
Member Avatar for Dani

I'm looking for some alternatives to Swagger UI that I can use with my API's swagger file to generate our official documentation. So far I've been looking at Apiary and ReDoc. Does anyone have any favorites? Which are the most intuitive for api documentation? Ideally I'd be looking for one …

Member Avatar for pankaj_patel
0
3K
Member Avatar for happygeek

I'll make this more clear in the future. Currently on vacation for Thanksgiving break.

Member Avatar for happygeek
4
4K
Member Avatar for John_165

Yes, the 2 points should be deducted if the comment is removed. I'll look into fixing this tomorrow. Thanks for the catch.

Member Avatar for Dani
2
4K
Member Avatar for Todd_Gordon

I’ve found press release websites don’t perform as well as they used to. 1 good quality backlink can be worth 100 poor backlinks. For top tier (e.g. editorial backlinks from sites like the Huffington Post) then look into responding to HARO queries on a daily basis.

Member Avatar for Dani
-1
426
Member Avatar for rproffitt

Those are notifications about incoming instant messages, hence new *message* notifications, as opposed to *forum post* notifications. Post notifications are always instant.

Member Avatar for rproffitt
0
2K
Member Avatar for duweihan

It looks like there are rows in the database in which the value of the class field is empty or null. You can adjust your query to be `SELECT DISTINCT class FROM classname WHERE class <> '' AND class IS NOT NULL`

Member Avatar for RuhiAngel
0
420
Member Avatar for tun712

I use https://github.com/lightningtgc/MProgress.js and I find it works great. Sometimes there's no benefit to reinventing the wheel.

Member Avatar for RuhiAngel
0
446
Member Avatar for erankita

What database? If you're using MySQL, for example, you could do something like the following: UPDATE records SET status = 1 WHERE timestamp < NOW() - 24 HOUR In this case, the `timestamp` column is a MySQL timestamp. We are setting status = 1 if the value of the column …

Member Avatar for Dani
0
282
Member Avatar for Dani

Member profiles now have a new statistic that measures impact. It counts how many people the user has reached. It should be noted that we just started calculating this number earlier this year, so at this time, the highest number is roughly one million.

Member Avatar for rproffitt
2
2K
Member Avatar for Jeff-Bennett

Check out DaniWeb Connect, which is designed to connect people one-on-one who are within a geographical area to discuss specific topics. Go to https://www.daniweb.com/connect and then type the desired keywords (e.g. amazon, alexa, etc.) in the Skills and Interests field.

Member Avatar for rproffitt
0
306
Member Avatar for ajay@7838

I'm not sure what you mean, rproffitt? It looks like he's looping through each row in the result set generated from query $q, and saving the row in an array $r for the iteration of the loop. That's what I do as well.

Member Avatar for alan.davies
0
361
Member Avatar for Purva_1

Please upload the file C_workOrder.php It says the error is on line 83, but the PHP code you are showing us only has 21 lines, so we can't investigate line 83 for you.

Member Avatar for Dani
0
400
Member Avatar for John_165

We have had a problem with Hotmail delaying email we send out because it gets flagged as fraud. It should arrive in about 24 hours. Otherwise, please use a non-Hotmail email. Sorry for the inconvenience.

Member Avatar for John_165
1
4K
Member Avatar for Reverend Jim

I'm not Canadian, but I am of the belief that this goes completely against religious freedom, at least as the U.S. defines freedom of religion. For many people, yarmulkes, hijabs, turbans, etc. are a required item for their personal level of comfort and/or modesty. I don't know anyone who wears …

Member Avatar for Reverend Jim
0
14K
Member Avatar for umer_12

It depends what you have to offer and what industry you're in. If you're a programmer, having a Github account with open source projects or contributions is vital.

Member Avatar for Dani
0
357
Member Avatar for TemplateTrip

A 5xx error means that the web server is configured incorrectly. When I tried to load your website, it took a *very* long time to load, but it finally did, without any 5xx errors. It's possibly that your website was temporarily down while Googlebot crawled it. However, this problem is …

Member Avatar for Dani
0
302
Member Avatar for SpottyBlue

Sorry, I'm not understanding what you're trying to do. It looks like you're checking to see if an email is the same as a staff's email address, and if it is, don't use your own email?

Member Avatar for Dani
0
395
Member Avatar for nesma_1

I don't see `if (isset($_POST['add_submit']))` anywhere in your code. Please show the code that includes that and then I can let you know if there are any typos that might be causing issues. However, I do notice that on both lines 6 and 12 you are inserting $brand into the …

Member Avatar for Dani
0
314
Member Avatar for duweihan

Sorry, I'm a little confused by what you mean. What do you mean by retain the selected value? When do you want it to retain the value? After submitting the form? A dropdown will default to the option that has `selected` specified. So, for example, when iterating through the while …

Member Avatar for Dani
0
2K
Member Avatar for Dee_2_dee

It’s hard for anyone to help you because you’re not really describing what your problem is. Is the code you provided not working? Are you getting any error messages? Your topic title says to write an algorithm and then you just posted a bunch of code. We are confused how …

Member Avatar for rproffitt
0
1K
Member Avatar for dongtrien
Member Avatar for dongtrien
0
429
Member Avatar for Gabriel Hinojosa

This appears to be part of a homework assignment, in which txt files are required but you didn’t attach them to your post. Where are you stuck with this assignment? Are you getting any error messages? Please show us the code you have so far and explain where you’re stuck …

Member Avatar for rproffitt
0
341
Member Avatar for william_45
Member Avatar for Dani

Chrome just prompted me to restart to update to the latest version, as it sometimes does. I did it, and the browser looks *entirely* different. Completely unexpected. It looks more like Firefox now, IIRC. Not really a problem with it, just surprised and thought I'd comment.

Member Avatar for rproffitt
0
4K
Member Avatar for Joseph_42

They probably created an original account with Social login with Facebook or Google, and when they tried to log in this time, it created a brand new account instead of logging them in. I’ll investigate. :)

Member Avatar for Dani
0
387
Member Avatar for aveeva7

If your form includes two submit buttons that each need to do something different, you can use AJAX (Javascript on the front end) to override the form action based on which button is pressed.

Member Avatar for Supun_1
0
3K
Member Avatar for divinity02

You don't have a semi-colon after `header("location:login_user.php")` It should be `header("location:login_user.php");` It says the } is unexpected because it sees a } immediately after that line without a semi-colon first.

Member Avatar for Dani
0
363
Member Avatar for FarrisFahad

Oh, my goodness! I used to use MassPay a few years ago but I don't know if I still have access to that old code base. I will try to pull it up and see if I can find something. The first thing I remember though about using MassPay is …

Member Avatar for Dani
0
4K
Member Avatar for Phlox.285

I’m on my phone in bed so it’s hard to type our code but you can use php’s string repeater function. https://www.php.net/manual/en/function.str-repeat.php You can echo out the image html tag the number of times based on the rating. You could do this with a simple for loop as well but …

Member Avatar for Dani
0
507
Member Avatar for Phlox.285

I think the reason you haven't received any responses is because your question is confusing. What do you mean by define said row? Which row? Define in which way? I see line 4 you have `(THE UNDEFINED ROW)` but I'm not sure what you are trying to do?

Member Avatar for Dani
0
4K
Member Avatar for divinity02

I’m on my phone so I can’t type much but blank pages are due to php fatal errors. Typically these are syntax errors, calling functions/methods that don’t exist, etc. You can set php logging to print out fatal errors instead of just a blank page. I don’t remember the syntax …

Member Avatar for paulmdavis0
0
358
Member Avatar for divinity02

This is a LOT of code for us to read and understand. If it's giving you an error message saying undefined index 'gender', that probably means that $_POST['gender'] is not defined. However, you have `$gender= isset($_POST['gender']) && !empty($_POST['gender']);` and I don't understand what you're trying to do there. It looks …

Member Avatar for divinity02
0
332
Member Avatar for Mara_2

Rproffitt, When I started DaniWeb, I launched it on the phpBB platform because I couldn’t afford a $100 vBulletin license. From a developer’s perspective, you may think $100 is almost nothing for the value of an entire fully functional web app. As a student, anything I couldn’t afford to buy, …

Member Avatar for rproffitt
-1
433
Member Avatar for Dagw300805

It looks like you just want us to do your homework for you. Pseudo code is English that describes the steps needed (in English) to accomplish what you’re trying to do. Help us to help you by telling us what you think the answer to this part is, and we’ll …

Member Avatar for Dagw300805
0
525
Member Avatar for Hasan_10

You need to provide some more information in order for us to be able to help you. I see here you are giving us an HTML form that asks a user for an old password, and to enter a new password twice. I understand what you want to do is …

Member Avatar for Dani
0
2K
Member Avatar for Maulik_4

Sooooo many people used to inaccurately pick the code snippet format when they had a question, that eventually I had to switch it to where only senior community members could post code snippets. However, in doing so, the number of valid new code snippets dropped by like 90%, which is …

Member Avatar for Dani
0
1K
Member Avatar for 1981191919

So I see you have a list of DNS servers, but I'm not quite sure why. The web server should already have a way of resolving domain names to IP addresses. What you want to do instead for `curl_setopt($curl, CURLOPT_URL, $serverName);` is simply set $serverName to the IP address you're …

Member Avatar for Dani
0
12K
Member Avatar for tun712

This should be rather simple to do with jQuery, unless I'm misunderstanding what you're asking. First retrieve how many pixels from the top of the webpage the attribute you want to scroll to is. Here, we select the first element that has `data-attr=foo` and then calculate its position in the …

Member Avatar for tun712
0
5K
Member Avatar for Nayna_1
Member Avatar for Taher_3

So, just to make sure we're on the same page, you're using the https://datatables.net/ jQuery plug-in? Because that table takes an existing HTML-based `<table>` and adds some UI widgets to format it all nicely. I see that there's an option to retrieve the data via AJAX, and it seems that's …

Member Avatar for Dani
0
637
Member Avatar for Mara_2

I concur with rproffitt's assessment that if you want the form to send an email, it needs to be hosted on a server that is capable of sending out email and has that correctly configured. I'm not familiar with Mobirise at all though. Is this functionality that they offer? How …

Member Avatar for Dani
0
406
Member Avatar for Jeinel
Member Avatar for bhuiyanatik9

This community isn't really for soliciting, but to share ideas with other marketers. I suggest that you participate in various Assassin's Creed facebook groups. I think that might be a good way of promoting your t-shirts in social media. You can also tweet with assassin's creed hashtags to get the …

Member Avatar for Dani
0
389
Member Avatar for SimonIoa

I think you're going to have a very hard time finding a font color that will be okay on backgrounds that are near-white, black, and any color inbetween. What I would recommend is to have the user specify if they want a light font or a dark font at the …

Member Avatar for ABIO22
0
3K
Member Avatar for Reverend Jim

You should be able to click on their avatar to get to their DaniWeb Connect Profile. Their avatar is next to all of their chat messages and also at the top of the page. This Connect Profile shows where they're geographically located, what (if anything) you have in common with …

Member Avatar for Dani
0
3K
Member Avatar for Bostjan_K

Bostjan attempted to upload these files but it didn't work. For the sake of testing site functionality, here they are.

Member Avatar for rproffitt
1
4K
Member Avatar for malikashish
Member Avatar for Reverend Jim

The End.