11,557 Posted Topics
Re: This appears to be a homework question. What does it mean by formulate an average reward problem? Is this a coding challenge? What have you tried so far? Where are you stuck? How can we help? | |
Re: Hi, You had posted your code just as plain text, so I converted it to a code snippet. However, I'm confused by the reason for your post. Do you have a question about your code? The topic title is inserting into a MySQL database with PHP, and that looks just … | |
Re: Yes, I've heard good things about Udemy. Also Lynda. Udacity. Coursera. Codecademy. PluralSight. Khan Academy. Lots out there. | |
Re: > Where will those div values come from? Will it be known fixed (constant) values or dynamic? I don't think it really matters how or why we ended up with a series of `<div>`s that each contain a number. All that matters is they're in the DOM as so when … | |
Re: If you're using jQuery (which it doesn't look like you are, but I thought i'd just mention it in case), you can do something as simple as `$('figure img)` to find all images that are children of figures, or `$('img[src="images/start.png"]`) to find all images that have images/start.png as their source … | |
Re: Hi there! Welcome to DaniWeb from sunny California. | |
Re: I have also been in desperate hope of some magic converter tool that translated all of my jQuery into vanilla JS. Unfortunately, I have yet to find one that works and doesn't break the code. However, I've been very slowly converting, little by little, by following various articles online such … | |
Re: Hi Andrew, Welcome to DaniWeb!! I guess my confusion is why this blue chip communications/media company does not already have the methods in place to collect sensitive data from its own employees without all sensitive information being visible? That sounds a bit like a security nightmare, to be honest. All … | |
Re: Put your best foot forward and showcase your skills. You're advertising your services as a freelance web designer, and yet you're using a premade Wordpress template. Also, work on reducing CLS (a metric part of google's core web vitals) by specifying a fixed dimension for all page assets. From an … | |
Re: If you use InnoDB, it supports row level locking, which means that the individual row is locked during an INSERT command. If you use something like MyISAM, it uses table level locking, meaning the entire table is locked during an INSERT command of any single row, but it has the … | |
Re: Without reading all your code, it's a good strategy to have an articles table that contains records of articles and their category_id, and then a second categories table of category_ids and their parent_id. In this way, for each article, you can traverse the list up to generate its parents. The … | |
Re: An HTML sitemap is just a regular webpage on your site that links to all of your pages for the benefit of your users. Googlebot will crawl this page and, essentially, also find all the other pages you link to. A plain text sitemap file is a plain text list … | |
![]() | Re: I'm not quite sure what you're trying to accomplish, but would using something like Swagger work? Swagger is a JSON file that essentially documents your API, and then there are a handful of different Swagger tools that let you feed in that JSON file, and then they spit out documentation, … ![]() |
Re: Mary, I’m sorry you’re upset, but you copied code exactly you found on the Internet. DaniWeb is designed as a learning aid to help you learn. Not to just plagiarize what has been posted. Good luck in your studies! | |
Re: Hi there and welcome to DaniWeb! I've moved your psot to the Say Hello! forum, which is designed as a place to introduce yourself to the community. If you have any specific MySQL questions, feel free to post them here: https://www.daniweb.com/community/contribute/16/mysql | |
Re: Sorry, I'm not understanding what you're trying to ask. Welcome to DaniWeb, though! | |
Re: This is an 8 year old thread. I don't think keywords in a URL are as important as they once were. However, there can be some advantages to using directory structure in a URL to signal to the user where in the hierarchy of the site they are, especially if … | |
| |
Re: Perhaps try reddit? My boyfriend browses reddit daily and all he seems to do is scroll through memes. They don't like blatant ads though, depending on the subreddit, so don't spam. Facebook and instagram seem to me to be practically designed to promote a meme's site. | |
Re: I know this is an old thread but people seem to still be interested in it so I’d like to echo Wordpress. I just came across https://www.wpdotnet.com/ but it seems as if nowadays there are a handful of different options available to get Wordpress functionality on .net. | |
Re: It's a play on words of a googol, the equivalent of the number ten raised to a hundred power. | |
Re: Hi there and welcome to DaniWeb!! Do you have any specific questions? Are you focusing on all three languages at once? Which interests you more? | |
Re: As rproffitt states, your MySQL query on lines 12 and 13 are happening outside of the loop, and just for the latest value of $val after the loop finishes executing (what $val last was in the last iteration of the loop). What I think you're trying to accomplish is insert … | |
Re: Unfortunately there are no Assembly tutorials already existing on DaniWeb. Assembly experts are urged to [create some](https://www.daniweb.com/community/contribute/2/assembly) ;) *hint hint* However, you can of course simply do a [Google search for assembly tutorials](https://www.google.com/search?q=assembly+tutorial). Then, you can come here to DaniWeb with any specific questions you have or are confused by … | |
Re: Hi there! Nice to meet you!! :) Welcome to DaniWeb. | |
Re: The error the original poster in this thread had was they had a form that pointed to a page that doesn't exist. If you're getting the same error message as them, you most likely have the same problem. On line 23 of the code you provided, you have: <form action="" … | |
Re: Ummm, what are you trying to say?? | |
Re: I think you're conflating to things. The first thing is reputation points. That's the little badge next to your username with a number next to a trophy icon. You gain reputation points whenm people leave comments on your posts. The other thing is the little text next to your username. … | |
Re: Which lines in the code above correspond to lines 118-120 of public.php? Also, I'm including the image here for reference.  | |
Re: What happens if you put `var_dump($toprated);` after the third line of the code you provided above. This way, for debugging purposes, we can see exactly what the $toprated object looks like. However, I think I see your problem. I see in the errors you're getting that you're trying to use … | |
Re: It's a good start. Let me just tell you, the first thing I noticed was you have variables a, b, and c. But what are they? What do they represent? Variable names should always be indicative of what they do. Also, comments would help ;) Here is a start ... … | |
Re: Sorry, I'm confused what it is you're trying to do? | |
Re: Content isn’t just for the benefit of the OP. Regardless of motivation behind why it was started in the first place, there’s nothing wrong with having the discussion. 99.5% of our traffic comes from people coming from a google search to read a discussion whose participants are long gone. Plus, … | |
Re: Are you using a CSS framework such as Bootstrap? | |
Re: I'm not quite sure what you're asking. What is PHF? This is the PHP forum. And fragmentation isn't a thing, that I know of, in PHP. | |
Re: You need an FTP client to upload a file from your local computer to a web server. You can download one of many free ftp clients. Linux, MacOS, and Windows have simple clients built in as well. As a reminder, you will need a user account with ftp privileges on … | |
Re: So AJAX stands for asynchronous javascript and xml, and I use jQuery for all my AJAX commands. Are you having an Ajax issue going on? | |
Re: For me, the best experience has come from reading webmaster forums and then experimenting. Check out Digital Point, Sitepoint, Black Hat Forums, and WebmasterWorld. WebmasterWorld used to be the beer resource for me years ago, but I’m not sure how they stack up today. Also, I would highly highly recommend … | |
Re: I’m sorry to hear that. Covid time has been really hard on everyone around the world. Hang in there, and participate in virtual meetups. | |
Re: What is the value of `Session["Items"]`? | |
Re: What’s the assignment, how far have you gotten, and where do you need help? We can try to help you with it. However, if you’re looking for someone to do your project for you, check out sites such as Upwork. | |
Re: Huh?? I have no idea what you’re asking. What project? Is it a project you’re working on? Is it a homework assignment? Huhhhhh?? | |
Re: No worries, rproffitt! Just add some pressure and you’ll have yourself diamonds in no time. | |
Re: Please show the work you have and where you’re stuck. We are a free community of members helping members, and so you’re going to have a rough time convincing people to just do your homework entirely for you for free. | |
Re: Hi there! So nice to virtually meet you. |
The End.