11,557 Posted Topics

Member Avatar for Tonittoh

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?

Member Avatar for Dani
0
51
Member Avatar for Dpdz
Member Avatar for derick_3

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 …

Member Avatar for Dani
0
40
Member Avatar for Rada_1

Yes, I've heard good things about Udemy. Also Lynda. Udacity. Coursera. Codecademy. PluralSight. Khan Academy. Lots out there.

Member Avatar for Dani
0
142
Member Avatar for jonsan32

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

Member Avatar for Dani
0
83
Member Avatar for Charlotte_4

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 …

Member Avatar for Dani
0
418
Member Avatar for foumzeur
Member Avatar for Fossi
Member Avatar for BWBama85

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 …

Member Avatar for Dani
0
1K
Member Avatar for Andrew_77

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 …

Member Avatar for rproffitt
0
307
Member Avatar for Techxonic

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 …

Member Avatar for thesmartstride
0
64
Member Avatar for Deepak_71

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 …

Member Avatar for Dani
0
48
Member Avatar for andreal

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 …

Member Avatar for Dani
0
77
Member Avatar for angelamotley

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 …

Member Avatar for 6Maxi
2
861
Member Avatar for Sarahle

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

Member Avatar for Sarahle
0
763
Member Avatar for Oscar_9
Member Avatar for Duki

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!

Member Avatar for Dani
1
5K
Member Avatar for thomas abwango

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

Member Avatar for Naheedmir
0
31
Member Avatar for Ravi_76

Sorry, I'm not understanding what you're trying to ask. Welcome to DaniWeb, though!

Member Avatar for Naheedmir
0
87
Member Avatar for GordonUK

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 …

Member Avatar for 6Maxi
1
757
Member Avatar for brennda
Member Avatar for FarrisFahad

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.

Member Avatar for 6Maxi
6
3K
Member Avatar for hirenpatel53

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.

Member Avatar for shahid.tariq
1
3K
Member Avatar for ASDadmedia

It's a play on words of a googol, the equivalent of the number ten raised to a hundred power.

Member Avatar for Dani
0
23
Member Avatar for Simiyu

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?

Member Avatar for Dani
0
67
Member Avatar for imtiaz_1

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 …

Member Avatar for Dani
0
69
Member Avatar for Nicholas_19

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 …

Member Avatar for Dani
0
49
Member Avatar for fariraituge
Member Avatar for codeblock

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="" …

Member Avatar for Dani
0
20K
Member Avatar for Dhedox
Member Avatar for Nicholas_19

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

Member Avatar for Dani
0
15
Member Avatar for Rajesh_48
Member Avatar for matei_

Which lines in the code above correspond to lines 118-120 of public.php? Also, I'm including the image here for reference. ![6926d234978766542f544ed1e31e465c.png](https://static.daniweb.com/attachments/0/55d40eae10ea78caa5dbd4275e2790dd.png)

Member Avatar for lalamohan412
0
141
Member Avatar for Hamsterking

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 …

Member Avatar for pritaeas
0
380
Member Avatar for c++help

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

Member Avatar for vishakha_3
0
11K
Member Avatar for SP SINGH_1
Member Avatar for Software_5

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

Member Avatar for Dani
0
88
Member Avatar for Mr_475
Member Avatar for allambeg123

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.

Member Avatar for Dani
0
24
Member Avatar for Idoma

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 …

Member Avatar for Dani
0
62
Member Avatar for rutu9392

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?

Member Avatar for Dani
0
64
Member Avatar for Naheedmir

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 …

Member Avatar for Dani
0
31
Member Avatar for Danilo_7

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.

Member Avatar for Dani
0
45
Member Avatar for Shiva_20
Member Avatar for user56rj

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.

Member Avatar for Naheedmir
0
87
Member Avatar for Cheru John
Member Avatar for Nelam parveen

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??

Member Avatar for tinstaafl
0
91
Member Avatar for Siddikulla

No worries, rproffitt! Just add some pressure and you’ll have yourself diamonds in no time.

Member Avatar for rproffitt
0
63
Member Avatar for Ptr_921

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.

Member Avatar for Dani
0
43
Member Avatar for youssef_8

The End.