11,530 Posted Topics
| |
Re: 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 … | |
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 … | |
Re: I'll make this more clear in the future. Currently on vacation for Thanksgiving break. | |
Re: Yes, the 2 points should be deducted if the comment is removed. I'll look into fixing this tomorrow. Thanks for the catch. | |
Re: 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. | |
Re: Those are notifications about incoming instant messages, hence new *message* notifications, as opposed to *forum post* notifications. Post notifications are always instant. | |
Re: 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` | |
Re: I use https://github.com/lightningtgc/MProgress.js and I find it works great. Sometimes there's no benefit to reinventing the wheel. | |
Re: 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 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. | |
Re: 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. | |
Re: 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. | |
Re: 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. | |
Re: 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. | |
Re: 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 … | |
Re: 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. | |
Re: 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 … | |
Re: 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? | |
Re: 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 … | |
Re: 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 … | |
Re: 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 … | |
Re: Can you please post your code here? The page you linked to seems very spammy. | |
Re: 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 … | |
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. | |
Re: 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. :) | |
Re: 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. | |
Re: 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. | |
Re: 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 … | |
Re: 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 … | |
Re: 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? | |
Re: 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 … | |
Re: 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 … | |
Re: 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, … | |
Re: 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 … | |
Re: 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 … | |
Re: 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 … | |
Re: 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 … | |
Re: 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 … | |
Re: 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 … | |
Re: 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 … | |
Re: 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 … | |
Re: 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 … | |
Re: 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 … | |
Re: Bostjan attempted to upload these files but it didn't work. For the sake of testing site functionality, here they are. | |
Re: Try clearing your browser cache. (Not your cookies) |
The End.