199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for ravi142

Hello, I am use this plugin https://wordpress.org/plugins/new-user-approve/ But in that there is no email notification given to admin when user approved. Is any solution for that. Thanks

Member Avatar for ravi142
1
388
Member Avatar for BustACode

Allows multiple entries using raw_input. I often have to enter multiple items in my Python programs. I desired an easier way than using a loop(s). Today I discovered a way, and with a few mods made it happen.

1
699
Member Avatar for naz1234

Hello there,i have given the task to make the atm machine using the c program.. my question is, why i got some error..I cant recognize such of that error... [CODE]/*intro*/ #include<stdio.h> #include<conio.h> #include<time.h> int main() { printf("\n --UNIVERSITI TEKNOLOGI MALAYSIA--\n"); printf("\n FACULTY OF ELECTRICAL ENGINEERING\n"); printf("\n 1 SKEL 9\n"); printf("********************************************************************************"); …

Member Avatar for jeevz
1
5K
Member Avatar for vegaseat

Just an example of a persistent list class that could have interesting applications in data mining.

1
682
Member Avatar for Dipanjana

Hi . I have an employee table with fields Employee Id, Employee Name, Address,Salary , Department ID and department table with fields DeptID,DeptName. I have added a data grid control with the columns showing Empname , address , salary,DeptName and Edit and Delete columns . I have inserted image using …

Member Avatar for AleMonteiro
1
1K
Member Avatar for anandatheerthan

I wanted to chain 3 selects and I got it working using this code. http://jsfiddle.net/FJFFJ/1/ The issue I now have is, how do I fetch the selected values from each dropdown in PHP? For example, the above creates 3 select boxes when the page is opened. When I click on …

Member Avatar for phpcake
1
4K
Member Avatar for vegaseat

Sometimes it's easier to pick an image from the internet to display in your Python Tkinter GUI toolit program.

Member Avatar for vegaseat
1
5K
Member Avatar for vegaseat

Shows how to convert a comma separated value (csv) string to a list of records, and then do some data processing. The csv strings usually come from csv files created by spreadsheets.

Member Avatar for vegaseat
1
3K
Member Avatar for Niloofar24

Hi. In my CMS, when i type a content for a new post in the textarea, like this: one two three four five six and then click the submit button, it will save in the db table like the way i have typed, every word in a separate line. But …

Member Avatar for Niloofar24
1
1K
Member Avatar for Yuki_1

I want to show only specify database table in datagridview.I had use dataGridView1.AutoGenerateColumns = false; but i don't know how to add the column.For example on of the column is "attn_id".How should i add it? here my code to connect database private void tmst_timein_new_Load(object sender, EventArgs e) { try { …

Member Avatar for AleMonteiro
1
6K
Member Avatar for happygeek

It all started pretty well, with the announcement by Mozilla at the end of last month that the Firefox web browser would make the Internet a safer place by encrypting everything. That's everything, even those connections where the servers don't even support the HTTPS protocol. Developers of the Firefox browser …

1
451
Member Avatar for J.C. SolvoTerra

=======Download The Full Solution Below======== This will be my last VB.Net soure as I've made the move to C#. For a recent job application I was given the technical test to create a horse race simulator which would calculate the odds of a runner winning a race of up to …

1
887
Member Avatar for vegaseat

I thought it would be fun to code all the different ways to show Hello World on the display. Let's start simple ... `print("Hello World")` Can anybody print out "Hello World" vertically?

Member Avatar for ZZucker
1
910
Member Avatar for Suzie999

I was working on this function which was quite specific to my project, so thought I'd make it more generic and share it, since I could find very little on the subject in my searching. Code also demonstartes how exceptions can work to your advantage when you know they are …

Member Avatar for Suzie999
1
2K
Member Avatar for fonzali

well , I just realised that we forgot about our " turtle " so here it is printing " hello world " from turtle import * title("hello world") shape("turtle") speed(2) color("blue") write('hello world',align = 'center', font=('imes New Roman', 36,'bold')) done()

Member Avatar for fonzali
1
122
Member Avatar for shashigowda

<?php session_start(); <?php session_start(); require('connect.php'); if(isset($_SESSION['username'])) { $dir="image/"; $file_name=$dir.basename($_FILES['uploads']['name']); $fileUpload=1; $imageType=pathinfo($file_name,PATHINFO_EXTENSION); $image= addslashes(file_get_contents($_FILES['uploads']['tmp_name'])); $image_name = addslashes($_FILES['uploads']['name']); $image_size = getimagesize($_FILES['uploads']['tmp_name']); if(move_uploaded_file($_FILES['uploads']['tmp_name'], $file_name)) { echo "uploaded succesfully" ; echo "<img src='$file_name' width='50px' height='50px'>"; $querry="SELECT image FROM users WHERE username='$username'" or die(mysql_error()); $result=mysql_query($querry) or die(mysql_error()); $row=mysql_fetch_assoc($result) or die(mysql_error()); $oldimage=$row['image']; unlink('directory/image/'.$oldimage); /* $deleter = …

Member Avatar for shashigowda
1
9K
Member Avatar for Heanre

how to check if the database is empty? my point is that the first person will be the administrator. here is my code $query="SELECT staffID,name,surname,email FROM stafftable"; $do=$con->prepare($query); $do->execute(); $record=$do->rowCount(); if($record>0): is there a much better option for this?. thanks

Member Avatar for almostbob
1
154
Member Avatar for Mike Askew

Hi All We are having an issue where a WSDL is loading another WSDL into it when we call it. This call takes a while on the first call which normally causes failures across the application during testing. One option we are looking into is pre-caching the WSDL in IIS …

1
311
Member Avatar for vivekH

I want convert the .csv file to .arff file can someone suggest what to do? my code is: package csvtoarff; import java.io.File; import weka.core.Instances; import weka.core.converters.ArffSaver; import weka.core.converters.CSVLoader; public class CsvToArff { public static void main(String[] args) { try{ String f1 = "C://Users//user//Desktop//testfold//test.csv"; String f2 = "C://Users//user//Desktop//testfold//output.arff"; // load the …

Member Avatar for vivekH
1
4K
Member Avatar for padma525
Member Avatar for sankartomogo
1
3K
Member Avatar for Nyck24

Hi, Please I'm new in database and I need your help, I'm working on my database project and before to continue I would like to be sure that my NORMALIZATION 3NF and my ER Diagram are correct. **Normalization 3NF** DESIGN PARTS SPECIFIED IN DESIGN PARTS PARTS USED AS SPECIFIED IN …

Member Avatar for AleMonteiro
1
787
Member Avatar for terryds

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 the result of the query.. But, what I find is just the SQL statement itself. So, I think it does nothing but …

Member Avatar for cereal
1
236
Member Avatar for happygeek

Spring has been getting rather unseasonably hot for Apache users as far as security flaws go. First there was news of how the FREAK (Factoring Attack on RSA-EXPORT Keys) vulnerability could impact Apache. For more on FREAK see this [excellent analysis](http://blog.cryptographyengineering.com/2015/03/attack-of-week-freak-or-factoring-nsa.html) by Matthew Green, a cryptographer and research professor at …

1
312
Member Avatar for BustACode

As a result of my research in number theory I find that I often need to break a number down into its numerical parts while stepping through one divisor to another. I call this process "break factoring," as I am just breaking a number down into parts, and not necessarily …

Member Avatar for vegaseat
1
337
Member Avatar for Budy_2

Does anyone know this error : Syntax error (missing operator) in query expression '***Budy Soleman***' **<--( this is content of textbox.text)** This is my code in VB.net with ms-access Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Call connect() Dim simpan As String simpan = "insert …

Member Avatar for Budy_2
1
2K
Member Avatar for habib_6

Hi,I,m writing puts()function and I want to know that I which situations it returns EOF I know that when there is an error it return EOF but whad does it mean. can you give me an example?

Member Avatar for rubberman
1
115
Member Avatar for BustACode

Instead of using letters as substitutes for playing card suits, I came up with a way to use unicodes to produce the common suits. The following creates the coded needed, makes the deck, and then prints the deck. The printing was the hard part. Is 2.7, and should be 3.0+ …

Member Avatar for fonzali
1
1K
Member Avatar for jonow

I know i just posted below, but i have another question. Is it dangerous to have the <head> tag be included using PHP include? Is it dangerous to have the <body> tag or <html> tag or doctype to be included using PHP?

Member Avatar for Squiva
1
2K
Member Avatar for DragonMastur

Is it posible to have an optional veriable in a funtion? Such as this: >>>def Say(msg, (optional)): >>> print msg >>> print optional >>> >>>Say('hi', 'option') hi option >>>Say('not') not If so How?

Member Avatar for DragonMastur
1
367
Member Avatar for WilliamJCook

Hi, I have a website, i need free web hosting service. i dont want to spend more money on web hosting. Give me some website which would of providing web hosting service for free.

Member Avatar for cool0
1
391
Member Avatar for sdtechi

#include<stdio.h> main() { int m1, m2, m3, m4, m5, per; printf("Enter marks in five subjects"); scanf("%d %d %d %d %d", &m1, &m2, &m3, &m4, &m5); per=(m1+m2+m3+m4+m5)/500*100; if(per>=60) printf("First division"); else{ if(per>=50) printf("Second division"); else{ if(per>=40) printf("Third division"); else printf("Fail"); } Enter marks in five subjects 100, 100, 10, 50, 60 …

Member Avatar for TalhaMoazSarwar
1
234
Member Avatar for Cup of Squirrel

I've skimmed the manual and cant find the answer to this anywhere: In basic, to add an Input function you would do (for example): [CODE] Input "What is your name? " name$ [/CODE] How do I do this in Python?

Member Avatar for Jason_15
1
18K
Member Avatar for Violet_82

I just wanted to share this with the community, in case anybody finds it useful. I'm learning ASP.NET and started with Web Forms and now I'm moving slowly to MVC. As I have just started with MVC - which is significantly different from Web Form - I've been looking for …

Member Avatar for pritaeas
1
266
Member Avatar for Hawk123

Hi, Im trying to make a simple programe that will make my life easier. But its more complex than i thought i have 6 tables, 1 master and 5 sub. All the 5 tables are of different column and types. Master Table ID Names 1 Branch 2 Committee 3 Translation …

Member Avatar for Hawk123
1
222
Member Avatar for johnmartin.sanchez_1

Hello guys a newbie here! Kindly please someone clarify to me what I did wrong or did I miss something? 1st. I'm pretty sure my ISP provided me a static ip address. 2nd. My website is running fine within my home network even on different platforms though by visiting the …

Member Avatar for johnmartin.sanchez_1
1
1K
Member Avatar for Froweey

Greetings: I've noticed that many people on these boards have experience using PyGame, so I thought it would be cool if i shared a creation I am currently developing. This creation is called **PyDark**. Basically, PyDark is a *2D game framework* built on-top of Python and PyGame. What makes PyDark …

Member Avatar for Gribouillis
1
157
Member Avatar for vegaseat

I used csv data readily available from http://www.weatherdatadepot.com/ to create a multiline plot of the average monthly temperatures of a given location.

1
330
Member Avatar for McLaren

Hello, I don't understand why when clicking on map icons, sometimes the infowindow is blinking on firefox. It blinks when we use images on it. I tested on other browsers - opera, chrome, IE, even IE7 and it works well. Is this a firefox bug or what? You can see …

Member Avatar for Jayen
1
491
Member Avatar for rpv_sen

Hi I am having two textbox, textbox1 is having autosuggest feature. i want to display related value based on textbox1 value. can any one pls help me. i collected the code from internet **Output Example** Report Name : PHP Report Version: It has to display the Verison from the database. …

Member Avatar for rpv_sen
1
463
Member Avatar for gretty

Hello I have made a simple win32 program that displays a window that has a button & a text area. When I click the button, my program grabs the text from the text area & displays the grabbed text in a MessageBox. [B]My Problem:[/B] When my program grabs the text …

Member Avatar for malcolmsand
1
2K
Member Avatar for rajabhaskar525

hi all, i want to send sms to mobile phones from web site . is there any solution for this ....... give me idea!!!!!!!!.......

Member Avatar for Bishnoi_1
1
2K
Member Avatar for JamesCherrill

[This article](http://lifehacker.com/the-top-programming-languages-ranked-by-job-demand-po-1601752302) will give you at least one good reason...

Member Avatar for <M/>
1
334
Member Avatar for sneekula

You can accesss the clipboard simply by using the Tkinter GUI toolkit that comes with your Python installation.

Member Avatar for TrustyTony
1
14K
Member Avatar for kwonzo

Hello i have been working on my assignment for java for a while now and I was hoping I can get some help. My teacher makes us run test cases to ensure our code works. My code compiles successfully but does not pass any of the test cases. It would …

Member Avatar for kwonzo
1
345
Member Avatar for vegaseat
Member Avatar for vckicks

The .Net Framework uses by default radians in its trigonometry calculations. Find out how to convert degrees to radians to use with C#

Member Avatar for ddanbe
1
722
Member Avatar for newack

I have designed Random number guessing game in windows form application. after user enters guessed number,hits button. for button click i entered code: private void buttonEnter_Click(object sender, EventArgs e) { string invalue; int number; Random r = new Random(); int target = r.Next(0, 100); invalue = textBox1.Text; counter++; label4.Text = …

Member Avatar for lexii
1
398
Member Avatar for otengkwaku

To download streaming videos on window is very easy after all there are so many softwares to do that for you but on linux it is not soo easy. There is howevery this command line tool that helps you do this [youtube-dl](https://github.com/rg3/youtube-dl. But this command line tool lacks some features …

1
109
Member Avatar for vegaseat
Member Avatar for sneekula
1
5K
Member Avatar for Slavi

Hey guys, I have a quick question here, I have Python 2 installed on my machine and I read a book on Python and Vega's great threads. However, my next book that I am about to read states that I need Python 3 to compile the code on their examples, …

Member Avatar for HiHe
1
289

The End.