Connect with 1,266,863 developers, IT pros, digital marketers, and tech enthusiasts.

Be a part of our friendly, industry-focused community of professionals meeting, networking, learning, and sharing knowledge via articles, Q&As, discussion forums, and realtime chats.

Software Development

i want to print my receipt in A4 size, but the problem is when i tried to print preview the form that need to be print , it occupy the …

Web Development

What does PDO::query actually do ?
Does it query the SQL ?
If it queries the SQL, I think the data must be in the PDOStatement object as …

Web Development

Hi Guys!
I have the following code:

<?php
session_start();
include_once("config.php");
?>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>View shopping cart</title>
<link href="style/style.css" rel="stylesheet" type="text/css"></head>
<body>


<br> …
Member Avatar for fonzali Software Development

hi , I found this code on the internet , I changed and added some lines to it to make it the way I like . I am very weak …

Software Development

Hi,so I am supposed to encrypt a text file chosen by a user at the moment I have completed most of it (offset factor/shift), I have got each separate character …

Software Development

Hello, first of all I am new to vb.net so sorry if my question is stupid... :(

I have text files that are something like this:

"#......
"#......

Member Avatar for James19142 Software Development

I continuously get this warning whenever a constructor delegates to another constructor within the containing type, having virtual bases.
warning C4100: '$initVBases' : unreferenced formal parameter

It's the same warning …

c++
Member Avatar for happygeek Networking

According to new research from Venafi, apparently some 74 percent of 'Forbes Global 2000 organizations' (or the big boys of business if you prefer) have yet to properly secure their …

Web Development

I have a question about inserting images into a product page. I have 5 images (saved as longblobs in my products table) and would like to put them in my …

Member Avatar for vegaseat Computer Science

Use Google's modern Go language (aka. golang) to convert a denary number (base 10) to a roman numeral. Just a good exercise to explore Go's map, slice, sort and for …

Member Avatar for vegaseat Computer Science

Another little adventure into Go coding. This time a slice (a Go open ended array) of structures is used as a record for some data processing. For those who miss …

Software Development

Hi all!

I have a form with a combobox, a listbox and 2 command buttons.(see photo and neglect the blank listview)

I select items from the combobox and add items …

Member Avatar for vegaseat Computer Science

This time just a simple example of grading scores (0 - 100) with letters (A - F). Two approaches are presented, one using switch/case in an "on the fly" function, …

Capture2.PNG Software Development

Now I am going through a project with colors. And then I think that if I try to display color values with their names in a simple combobox, it could …

Member Avatar for vegaseat Computer Science

Some folks go on vacation around the Easter holidays, so it would be nice to know when Easter happens in the years ahead. I had this as a Python snippet …

Member Avatar for vegaseat Computer Science

Generators are rather familiar objects in Python. Generators supply data on demand. Using Go you can create a generator with a goroutine and a channel. Here the goroutine is an …

Member Avatar for vegaseat Computer Science

Again, calculate the minimum number of bills or coins required for a given amount of money (change). This time we will use a Go map instead of a csv string …

Member Avatar for vegaseat Computer Science

The story has it that a few hundred years ago the ruler of a big country wanted to reward the creator of the chess game. The creator of the game …

Member Avatar for vegaseat Computer Science

Just a couple of number tricks to check Go's mathematical abilities. If you have more, let's show them here.

Member Avatar for bijutoha Search Engine Strategies

This is my inquiry on when I'm going to take a domain name for my business. What do you think a keyword based domain name best for getting the Google …

seo
Member Avatar for m.rahman1 UI / UX Design

Hai, I am work in Sales & Marketing, but i have personaly try to web design, but i don't know HTML Code. so please say: what is HTML Code For …

Web Development

Hi, For a dropdown , I display from one table, While Editing How to show the selected value in that dropdown.

<select name="dropdown">
<option value="">--Select--</option>
<?php
$a=mysql_query("Select * from student …
Member Avatar for vegaseat Computer Science

A little experiment with custom sorting the result of a word frequency count using Google's Go language.

Member Avatar for joshl_1995 Software Development

Hello Daniweb Community,
I'm wanting to slice a square image into 9 pieces like below
Image_Grid_Expected.png
the code I'm currently using is this


       
Web Development

Hello,

I hope that I can get an answer for this question.

I have a MYSQL table for charges which contains the following fields: ChargesID, ChargesTitle, OfficialFees and ProfessionalFees. What …

Web Development

I want to create a webpage which will automatically send an email before 2 days.

<form action="try.php" method="post">

<p>Date From : <input type="date" name="date1" /></p>
<p>Date To: <input type="date" …

Web Development

Here's dish. When I submit a form, it straight up crashes my site on my network. Here are the details.

  1. The form submits to itself. The form is on site.php …
Member Avatar for kim_boto Software Development

Hi guys, i want to make a timetable management system in c#. the system should generate timetable for school for both teachers and students. please help me out here.

Search Engine Strategies

I have been getting most of my backlinks from social media websites like Pinterest, Twitter, etc... How do you get backlinks to add SEO value?

Hardware and Software

About 3 days ago. My laptop started behaving strangely (I'm on it, right now). I let it fall couple of times, but that was really some time ago about 3 …

Member Avatar for Papa_Don Software Development

Group,

I've got a complex If/Then statement that may require the use of "Select Case". However I'm not familiar with how "Select Case" actually works. Needless to say, I'm not …

Digital Marketing

Hi,My website is three months old. I submitted by website for Good adsense approval and they showing as My website doesnt comply google adsense rule

(link deleted)

Message from Google …

Member Avatar for cambalinho Software Development

the GetDesktopWindow() give me the desktop HWND, but how can i get the desktop toolbar HWND?
i belive that theres 1 function for get the toolbar on windows, but …

c++
Software Development

I have 5 date fields in a table. I want to place CheckBoxes against each date field to allow user to check the appropriate date for the employee's weekly holiday. …

Software Development

Good day!

I just want a little help on how to loop from one cell to the end and set a sum Formula. I have Columns From **F to O …

Member Avatar for hninmaung.02 Software Development

I am a computer hardware technician. And I want to create some programs to use in job. I think it would be more efficient in time. I can use C++ …

c++
Web Development

I have this email code from a website template that I want to use for my site. The problem is that when I click on the "Send message" button, the …

Software Development

Hi, I have started this project and come to the point where I can't figure out how to finish it.
First Want to say that I'm noob for VB6 …

Software Development

Hello everyone,
what i am trying todo is get the following data from a html file....

Friday 31 - 1 - 2014

Created:    31/01/2014 2:32 PM
Updated:    31/01/2014 …
Search Engine Strategies

Hello Everyone,
SMO creation , I have no idea so please suggest me which is the best social media sites for SMO.

Web Development

Hi,
I Have this php code:

<?php
//require('dbconnection.php');
$conn = mysqli_connect('localhost','root','','user_registration');

    if (mysqli_connect_errno()){
      echo "Failed to connect to MySQL: " . mysqli_connect_error();

    }else{} ;


function getUsers() {
    //return require('online-users.txt'); …
Member Avatar for hefaz Software Development

Hello every one.
i am trying to catch duplicate values from a data. in the picture when i want to add new record, then if the record already exists …

Member Avatar for Violet_82 Web Development

Hi guys, I'm working at a website that, among the other things, the client has requested to be multilingual. The way I envisage it to work is this: if you …

Web Development

Hi, Ive been follow the tutorial in the youtube . I need to upload images to my webpage but the code seem not working. It also doesnt not appear any …

Member Avatar for Violet_82 Digital Marketing

I was just wondering if anybody here on daniweb has any experience of writing twitterbots, for things like, for instance, looking through tweets for keywords and then submitting a link …

Member Avatar for PsychicTide Web Development

Hey guys, been a while since I've been here, but still the best source for help. Hoping you guys can help me with a checkbox/radio button scenario.

HTML...

<div style='margin-bottom:5px;'> …
Member Avatar for tony75 Software Development

Hi
How can I install and use pyinstaller under Kali linux

I appricate your help with an example

Software Development

Hello.

I am trying to add new button during runtime. Here is the scenario:

when I click 'Food' button, the fields from food column in MySQL database will appear as …

Software Development
dev

can someone please help me with this pascal program, does this look right?

Program StudentScores;

var
c: integer;
s: integer;
t: integer;
n: integer;
p: integer;
f: integer;
h: integer; …
Member Avatar for nitin1 Software Development

Hi,

I am stuck with a problem. I have two Date objects (util class objects). I want the difference between these two dates as the number of days between them? …