11,530 Posted Topics

Member Avatar for Wagstan

How do you know the problem is the motherboard? How do you know it's not the hard drive, etc.

Member Avatar for david.phillips.902
0
52
Member Avatar for Adolfo_1

I'm a little confused, because you have MySQL queries such as `SELECT * FROM tbl_top_category WHERE show_on_menu=1` but it doesn't look like `tbl_top_category` has a `show_on_menu` field? Either way, I guess you can do something like: SELECT CONCAT(ecat_name, '/', mcat_name, '/', tcat_name) FROM tbl_end_category AS end INNER JOIN tbl_mid_category AS …

Member Avatar for Adolfo_1
0
484
Member Avatar for Aliana_Warnet
Member Avatar for Madhvi_1

Something like this: <?php // Connect to the database and create a MySQL resource handler $mysqli = new mysqli("localhost", "my_user", "my_password", "world"); // Get variables from a form submission, and escape them so they'll be prepped to use in a database query // and not at risk of an SQL …

Member Avatar for Dani
0
205
Member Avatar for Mait

Hi there and welcome to DaniWeb! I have over 20 years of experience in SEO, so feel free to ask any questions and I'll try my best to answer them.

Member Avatar for Dani
0
14
Member Avatar for blackroyal321

I have no clue what anyone here is talking about. But welcome to DaniWeb lol.

Member Avatar for Dani
0
31
Member Avatar for Nizar_4

Can you please copy/paste all your code here because I’m not seeing an object called str in the screenshot.

Member Avatar for Dani
0
21
Member Avatar for Farah_6

What code do you have so far? Where are you stuck/confused? What errors are you getting?

Member Avatar for rproffitt
0
45
Member Avatar for potato_1

I think rproffitt is pointing out that you may have a typo where you put a / character before $goodsID_c. That being said, you have a whole bunch of things wrong here. Firstly, do not ever not escape user-defined variables passed into MySQL. On line 89, you should be using: …

Member Avatar for Dani
0
1K
Member Avatar for Miss_3

rproffitt, what's wrong with the product? Looks like it has a lot of positive reviews, at first glance?

Member Avatar for Dani
0
26
Member Avatar for Dani

I've tried absolutely everything!! How can I flush the output buffer in CodeIgniter from within either my controller or my view?? They use some weird double/fake output buffer or something. Grrr!

Member Avatar for Dani
1
4K
Member Avatar for Fedwa

print '<option value="'.$row ['annee'].'" >'.$row ['annee'].'</option>'; I think what rproffitt is referring to is the space between the array's variable name and the array index. It should be `$row['annee']` with no space between the `$row` and the `[`.

Member Avatar for Dani
0
6K
Member Avatar for Thomass1

Welcome to DaniWeb!! I have many decades of experience in SEO so feel free to ask a question or start up a discussion.

Member Avatar for Dani
0
27
Member Avatar for Ayshhh

This is an ordered list: 1. Item One 2. Item Two 3. Item Three and its HTML looks like: Begin Ordered List Element List Item One List Item Two List Item Three Close Ordered List Element <ol> <li>Item One</li> <li>Item Two</li> <li>Item Three</li> </ol> This is an unordered list: * …

Member Avatar for Dani
0
91
Member Avatar for روان

Can you please show us what code you have already for this homework assignment, along with where you're confused/stuck, what error messages you're getting, etc?

Member Avatar for Dani
0
65
Member Avatar for lilindiekid

Maybe because he’s interested in programming and also interested in Magic the Gathering? When I was in middle school, I was morphing my skills from QBasic to Visual Basic, and I was also honing my touch typing skills, and loved using Mavis Beacon. So I wrote a Mavis Beacon clone …

Member Avatar for JamesCherrill
0
144
Member Avatar for tanpuia
Member Avatar for Dani
0
55
Member Avatar for robertvincent

Hi there and welcome to DaniWeb!! Thanks for joining. What are neck joints? I’ve never heard that term before as it relates to image manipulation.

Member Avatar for Dani
0
12
Member Avatar for David_208

So sorry, but this is an English language community and so I don't understand what you're asking. How can I help?

Member Avatar for Dani
0
97
Member Avatar for 1kpop

Hi there. So nice to meet you. Welcome to DaniWeb!! rproffitt, I would assume that all fish eaten in Sweden are Swedish fish.

Member Avatar for Dani
0
18
Member Avatar for Sardar_6

Sorry, we won't just do your homework for you here at DaniWeb. Please post the code you have so far along with where you're stuck, what's confusing you, where any errors are, etc.

Member Avatar for Dani
0
19
Member Avatar for cutetypie

Hi and welcome to DaniWeb. Is that you?? What are you trying to do to the photo?

Member Avatar for Dani
0
11
Member Avatar for ChrisJ

The code you are providing is just a simple HTML file upload form with nothing special about it. The capture property is a hint directed to the web browser the desired use case is for the end user to use the device's native media capturing capabilities to capture something to …

Member Avatar for Dani
0
68
Member Avatar for zak99

I've turned this topic into a general question instead of a featured code snippet.

Member Avatar for Dani
1
92
Member Avatar for MUHAMMAD_289
Member Avatar for Griffin_3
Member Avatar for Dani
0
186
Member Avatar for wackyal

Sorry for my late reply, but I just came across this thread trying to find a more efficient way than I currently am doing, but here's what I have so far: // Store valid emails $emails = array(); // Use regex to find all email-like matches $regexp = '/([a-z0-9_\.\-])+\@(([a-z0-9\-])+\.)+([a-z0-9]{2,4})+/i'; preg_match_all($regexp, …

Member Avatar for Dani
0
4K
Member Avatar for Siti_4

The first portion of the assignment says that the program should be object oriented with a constructor with attributres brand, model, year, and price. Therefore, what we're talking about is a program which has different Car objects. Each Car object is a type of Car, with its own combination of …

Member Avatar for JamesCherrill
0
91
Member Avatar for Dani

DaniWeb was written in Codeigniter, and when posting to the forums, we use database transactions that look like this: $this->db->trans_start(); ... insert into the posts table ... ... update the member's post count ... ... update the tags table ... etc $this->db->trans_complete(); On occassion, the error log will show for …

Member Avatar for Dani
1
4K
Member Avatar for RobertFromBk

The existing Facebook groups are all now-abandoned fan groups started by members many years ago. What would be the benefit to creating an official Facebook group or groups on other social media sites? What would be posted there? What would be the benefits to utilizing it? The purpose of the …

Member Avatar for Dani
0
51
Member Avatar for RobertFromBk

From an app development perspective, developers would typically use different tools and technologies based on the platform and form factor of the device it's intended to run on. For example, software created for Windows doesn't automatically work on macOS, software created for iPhones doesn't automatically work on Android, etc. Software …

Member Avatar for rproffitt
0
75
Member Avatar for Battlecode10

All of the variables in your Hangman class are private or protected, meaning they are only accessible to objects of the class itself, or to objects of classes that inherit from that class. You need methods within the Hangman class that manipulate or retreive the variables.

Member Avatar for Dani
0
79
Member Avatar for Mnashmanne

This just seems like you want someone to do your homework assignment for you. We will help you, but we won't just do your work for you for free. Please show the code you have so far and where you're stuck or need help.

Member Avatar for rproffitt
0
99
Member Avatar for miller8779
Member Avatar for theayoubkhan313

Give people a reason to come back. Give them the ability to create an account and then show them personalized content if they're logged in. In my experience, starting a mailing list has been the best way.

Member Avatar for theayoubkhan313
0
46
Member Avatar for Richard Dickson

Please clarify what you mean as to how will you get paid? We are a free community of members helping each other. DaniWeb Connect is a paid product where you pay micropayments to be matched with other members who fit criteria. (Or $5 for unlimited matches).

Member Avatar for Dani
1
98
Member Avatar for Donnolic

I don't know .NET, but I've written an API before, and this is a bit of a loaded question. What exactly do you mean by you're looking to use an API instead of a direct connection to the database? Do you mean to just create classes that abstract away the …

Member Avatar for Dani
0
87
Member Avatar for ChrisJ

There are two very different ways to accomplish what you're asking. The first is, as I believe has been suggested above, to use Javascript to create a scrolling message that overlays on top of where you would display your video on a website. Remember, everything in a DOM document (webpage) …

Member Avatar for rproffitt
0
199
Member Avatar for pawandeep436

Taking a look at this header: header("Content-Type: application/pdf/jpg"); header("Content-Disposition: attachment; filename=\"" . $filename . ".rar\";"); What type of file are you trying to give to the user? Is it an application? A PDF? A jpg? A rar file?

Member Avatar for Dani
0
43
Member Avatar for mildered

They had a spam link embedded in their post, which I removed, so I'm not so sure their question was genuine.

Member Avatar for Dani
0
75
Member Avatar for pooja9990gupta
Member Avatar for LBM_178

What is your existing business model and in what way are you hoping to automate it, that is currently being done manually?

Member Avatar for Dani
0
42
Member Avatar for gilcalisto
Member Avatar for lalamohan412
Member Avatar for MrNoTech
Member Avatar for apu_923

The code for the backend depends on how you're storing this data, if you're using a PHP framework, and oh so many things. Do you already have PHP code set up to connect to a database and store user profiles? I see this is an Account Setting page, so I …

Member Avatar for Dani
0
75
Member Avatar for Asish_1

There's a setting in Cloudflare to override expiry with a cloudflare-set setting, or to respect the origin server's headers. You need to set it to respect your server's headers or else Cloudflare will override.

Member Avatar for Dani
0
59
Member Avatar for jp844133

Sorry, this is an English-only community. Did you have a question about Java, or something you wanted to discuss with the members of the community?

Member Avatar for Dani
0
43
Member Avatar for rosh988

You don't have a semi-colon at the end of lines 11, 14, and 15. However, to fully diagnose this, please post the full PHP file as well as the full error message. The error mesage should specify what line the error is on.

Member Avatar for Dani
1
42
Member Avatar for Anthony_41

By storing information about the user id or user session as a cookie in the end-user's web browser. Keep in mind, if you just want to simply store user id as a cookie without messing with PHP sessions, encrypt it so that it can't just be changed to a different …

Member Avatar for Dani
0
16

The End.