199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for davy_yg

Hello, I am trying to set email from my web server which we hosted ourself. I already set my php.ini to smtp.indonusa.net.id and from email: davy@indonusa.net.id to: davy_yg@yahoo.com The program seems to works fine. Yet, I do not receive any email yet as I suppose to. Someone mentions to me …

Member Avatar for cereal
0
2K
Member Avatar for blueguy777

i've stored a line into string `$output='01/07/201521/08/201691754.0';` i want split the line as three different words & store into variables var1 var2 and var3. eg: var1=01/07/2015 var2=21/08/2016 var3=91754.0 hope someone will fix this issue.

Member Avatar for blueguy777
0
275
Member Avatar for davecoventry

I have a simple php file: <?php /** * email_validation_query: evq.php * This file is placed in the root directory and returns the owner's email address * in the jos_owners table along with the animal's name and the breeder who registers them. **/ $user_name = "user_name"; $password = "password"; $server …

Member Avatar for davecoventry
0
261
Member Avatar for markdean1989

Error : Object referrence not set to an instance of an object Situation; I have an array declared publicly (i.e. outside any events) as Public Shared array_shuffle() As Integer What I want to do is to be able to specify the length and elements of this array from inside events …

Member Avatar for markdean1989
0
198
Member Avatar for andrew mendonca

Write a complete program that reads an integer k > 1 from the console and finds the first positive natural number n hat is divisible by all whole numbers between 2 and k inclusive. Your program may only use do-while loops , even if you think a for-loop or while …

Member Avatar for Hiroshe
0
381
Member Avatar for terryds

I wonder how CMS(Wordpress) know the default template and plugins to run. Should I store the default value for template in MySQL database or just using file_put_content to store the default value for template/plugins ? Or, is there any better way ?

Member Avatar for veedeoo
0
113
Member Avatar for jcafaro10

I'm having some trouble getting importing stuff from another class, I think I may be doing it wrong. I have a simple main class called Test and at the top I say: [CODE] from WordFixer import WordFixer import sys [/CODE] Then in the same folder (the src folder) I have …

Member Avatar for snippsat
0
157
Member Avatar for pratz

Hello, I have few question regarding importing modules. I have created a folder for my python work [quote]/usr/home/pratz/pyfiles[/quote] I have exported this to set the $PATH. And now if I issue the command [code]echo $PATH [/code] I am getting the string the "/usr/home/pratz/pyfiles" in the list. If I am not …

Member Avatar for Amigodornot666
0
525
Member Avatar for rednose00

Hi all, i am trying to write a mortgage amortization schedule calculator and am stuck. please see the code below. It appears that the principal is being counted twice before subtracting it from the balance. Any ideas on what the issue is? I am new to python: loanAmount = input("Please …

Member Avatar for vegaseat
0
2K
Member Avatar for nolski13

Hello all, I am relatively new to programming in general - the last formal object oriented programming class I took was my freshman year of college (my jargon may not be accurate). So please, bear with me. If this question should be asked in a different area (such as the …

Member Avatar for LesF
0
230
Member Avatar for RAPIDFIRE0311

I need a delete function, I have tried all sorts of things and in this instance I have 2 different functions does not do anything. I just left it here for developmental help. The most I am able to do is delete all rows, **and only want to delete rows …

Member Avatar for LesF
0
303
Member Avatar for sharifmoskat

<!--php index code Start--> <?php include("includes/db.php"); ?> <!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>My Shop</title> <link rel="stylesheet" href="styles/style.css" media="all" /> </head> <body> <!--Main Contanier Start--> <div class="main_wrapper"> <!--Header Starts--> <div class="header_wrapper"> <img src="images/Karis Shop Logo Neu 700x100 entwurf 3.jpg" style="float:left;"> <img src="images/cropped-banner41.jpg" style="float:right;"> </div> <!--Header Ends--> <!--Navaganation …

Member Avatar for diafol
0
276
Member Avatar for kyleo92

I'm trying to learn JSON/JavaScript as I'd like to use it over PHP/SQL. I was going to do this with TEMPOJS because it seems like that might be the easiest way to start off? I'm getting hung up, however. I can make everything work if I include the JSON directly …

Member Avatar for diafol
0
185
Member Avatar for ankit.4aug

[CODE]int *a; char *c; *(a) = 20; *c = *a; printf("%c",*c); [/CODE]

Member Avatar for Suchita_1
0
141
Member Avatar for noor.fatima.77582359

Hi, i want to make a website and host it for free. can anyone help me?? i really need it Thanks in advance

Member Avatar for Pablo149
0
89
Member Avatar for AbstractEden

Hello, I mainly wanted some tips and advice on ways to optimize this code, it's actually an exercise from my class' power point file. It says: Exercise 1 Sam and Ella's Delicatessen wants you to write a program to take orders from the Internet. Your program asks for the item, …

Member Avatar for AbstractEden
0
872
Member Avatar for NetJunkie

The title may not be as clear so let me elaborate a little bit. I am creating an application that minifies CSS and JS files for web developers. All of the code is working perfectly except for one little pesky bug I can not figure out! Here is my code …

Member Avatar for NetJunkie
0
345
Member Avatar for davy_yg

Hello, How to store html tag in email message: $message = "Dear ".$data['stu_fname'].",".'<br><br>'. "Please click the link below to continue the registration progress: ". "http://www.website.com/registration3.php?student_id=".$data['student_id']; This is what I receive on email: Name: Guest Phone: 88888888 Email: guest@mail.com Dear Guest,<br><br>Please click the link below to continue the registration progress: http://www.website.com/registration3.php?student_id=53 …

Member Avatar for mmcdonald
0
112
Member Avatar for Transcendent

I want to start learning Android programming. I was wondering what is the best book for beginners on android programming?

Member Avatar for harry_6
0
352
Member Avatar for Slavi

Hey guys, I made the game Rock Paper Scissors where 2 players can play against each other. Here is my client's GUI ( The server doesn't need 1) and I was wondering what else to do to make it better looking/more "advanced". Any feedback is appreciated - The entire GUI …

Member Avatar for Slavi
0
122
Member Avatar for MasterChat

Dear DANIWEB Community, Good day! I haven't had any programming lessons in college since I was in the business course. However, I've always wanted to learn programming and create games and applications. May I ask for help on how to start? A few resources or text to read will be …

Member Avatar for MasterChat
0
144
Member Avatar for Violet_82

Hi guys, quick question. When I work with asp.net controllers (so say a TextBox or a Label) if I want to get what's inside them I will use the Text property: for asp.net listboxes instead I use the Value property. If I instead, say, I ditch completely the asp.net controllers …

Member Avatar for Violet_82
0
176
Member Avatar for Aya_3
Member Avatar for BingityBongity

I have a class containing: class CounterList: __n_comparisons__ = 0 def __init__(self, data=None): if data is None: self.data = [] else: self.data = data self.__n_accesses__ = 0 def __getitem__(self, i): self.__n_accesses__ += 1 return self.data[i] def __setitem__(self, i, item): self.__n_accesses__ += 1 if type(item) != CounterNode: raise ValueError("Only Counter objects …

Member Avatar for snippsat
0
381
Member Avatar for rowen_1

In a 4 player network big 2 card game. how do I track a player turn? so in my program, my server will wait for 4 clients to login. my server will spawn a new thread each time a client is connected after 4 clients have log in, the server …

Member Avatar for JamesCherrill
0
1K
Member Avatar for Yahia Farghaly

Hi all, can someone help knowing the difference between char *st="myname"; char st[]="myname"; i know they both is array of charachers but the difference when dealing with them and how they are in memory ? Thanks.

Member Avatar for Yahia Farghaly
0
342
Member Avatar for tentrabyte
Member Avatar for Neuman
0
109
Member Avatar for Miguel24.07

Hi i am new in this world, so i need some help with this. I need to make a program in c++ or c, receive an xml file, and the program count the file labels (<Home> <\Home>) and say how many time repeats the same label. Thanks

Member Avatar for Lucaci Andrew
0
232
Member Avatar for rowen_1

This is a contiunation of https://www.daniweb.com/software-development/java/threads/484036/java-network-game-keeping-track-of-a-player-turn# Right now my server will read for incoming connections from the clients. if it reaches 3, it will break off from the while loop and any more clients connected after that will be refused. I set the first player by doing this. game.currentThread = …

Member Avatar for JamesCherrill
0
297
Member Avatar for choboja621

Hi! Can you help me in finding related literatures on Online Grading System with SMS Alert.

Member Avatar for pritaeas
0
82
Member Avatar for ekseks

[CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <link rel="stylesheet" href="css/jquery.datepick.css" type="text/css" /> <script type="text/javascript" src="js/jquery-1.4.2.js"></script> <script type="text/javascript" src="js/jquery.datepick.js"></script> <script type = "text/javascript"> function updateSelected(dates) { $('#selectedMonth').val(dates.length ? dates[0].getMonth() + 1 : ' '); $('#selectedDay').val(dates.length ? dates[0].getDate() : ' '); …

Member Avatar for neerajgarg
0
336
Member Avatar for abdullahkafkas

#include<stdio.h> #include<conio.h> #include<stdlib.h> #include<ctype.h> #include<string.h> typedef struct Stack { char info; struct Stack *next; }Stack; Stack *start=NULL; Stack *cstart=NULL;//variable for copy of stack Stack *rstart=NULL;//variable for reverse of stack Stack* push(Stack *, char); char pop(Stack *); int main() { char c; int flag=0; printf("Enter characters :"); c=getchar(); while( c !='\n' …

Member Avatar for jwenting
0
215
Member Avatar for Joemeister

I am currently working on a small project. How it works is a passenger must book where he/she wants to sit on plane. Using a DataGridView he/she can pick a seat except in the ilse. The DataGridView has 7 columns and 5 rows. The ilse is occupying the whole 3rd …

Member Avatar for ddanbe
0
773
Member Avatar for Violet_82

Hello all, I am very very new to ASP.NET - just started looking into it a few days ago - and I got a book out to get the basics of APS.NET, Visual studio (which I haven't installed as yet) and C# (the book is ASP.NET 3.5 a beginners guide …

Member Avatar for Violet_82
0
242
Member Avatar for davy_yg

studentmgt.php $search = $_GET['search']; echo $search; ?> <div align="center"> <div style="width:700px;text-align:left;padding-top:5px;"> <?php if (isset($confirmation)) { echo $confirmation; } ?> <form method="get" action="<?php $_SERVER['PHP_SELF'] ?>"> <br/> <?php //LOAD STUDENTS INFO $result = mysql_query("SELECT * FROM `student` INNER JOIN `group` ON group.group_id = student.group_id INNER JOIN `access` ON access.access_level_id = student.access_level_id ORDER …

Member Avatar for pritaeas
0
173
Member Avatar for Syed Asghar Ali

Sir I am facing problem,I want that when I open my form then select combo box value and by combo box my bellow grid and text box fill...but it is showing coding problem,so please guide me. What can I do? Regards: Asghar

Member Avatar for Syed Asghar Ali
0
158
Member Avatar for neha05

hello all I need to set free shiping for some products (not for all products) in joomla via admin panel ,how we can set it?

Member Avatar for neha05
0
225
Member Avatar for tentrabyte

Write a program that will ask for two integer numbers. Assign the first integer to the first operand and assign the second integer to the second operand. Use the following assignment operators: =, *=, /=, %=, +=, and -= Display the result of each operation. Consider the following sample output: …

Member Avatar for Tycellent
0
521
Member Avatar for Saadiya

Hello everyone! i tried to run this code on the command prompt and got this error: "Invalid token '(' in class, struct or interface member declaration". Please how do i solve this? what does it mean? Thanks. using System; namespace FFC { public abstract class Furniture{ protected string color; protected …

Member Avatar for chriswelborn
0
151
Member Avatar for mikewyatt

I have multiple embedded database that all work fine while running inside netbeans, but when running the program outside (stand alone) of netbeans one of the databases does exist ie the error java.sql.SQLSytaxErrorEception: Table/View'RACE_DATABASE' does not exist. The database is confirmed as embedded when checking its properties. this was working …

Member Avatar for juliuas
0
288
Member Avatar for cjohnweb

Hello! I am normally in the PHP / Web Development section of DaniWeb. It's a pleasure to finally have a reason to check out other sections of DaniWeb! So, I am logged in as root at the Command Line Interface over SSH - on Debian 7 Wheezy running on a …

Member Avatar for cjohnweb
0
342
Member Avatar for charlie.kirk.140

Hi, The following code selects and displays a record from the "emailtbl" table as desired except for the the date and it doesn't update the "lastused" (date) field to the "numbers" table via "lastused.php" include. No error messages. I need help. <html><head> </head> <BODY> <?php include ("lastused.php"); include ("counter.php"); $id="''"; …

Member Avatar for charlie.kirk.140
0
157
Member Avatar for Blueie

Hello I am getting the following error Compiler Error Message: CS1518: Expected class, delegate, enum, interface, or struct with 'string' on this line: public static string GetConnString() and with "MyConnectionString" on this line: return WebConfigurationManager.ConnectionStrings["MyConnectionString"].ConnectionString; I have looked around the Web and I have seen examples of public static String …

Member Avatar for deceptikon
0
372
Member Avatar for Acurapassion

Hey guys, so I'm having some issues putting my script together.. Basically, I'm trying to loop through my database and send each entry username to a url, and once through all entries, send 'done'. Using PHPStorm and getting an "Expecting statement' error. Here's what I have so far: <?php define('DB_NAME', …

Member Avatar for pritaeas
0
181
Member Avatar for hwoarang69

using: eclipse I have created a android app and I am trying to add some ads on to it. I am using admob.com but I am not sure what I am doing wrong. First here is error I am getting: #------- #ERROR: #------- 08-27 23:09:03.650: E/AndroidRuntime(26340): FATAL EXCEPTION: main 08-27 …

Member Avatar for peter_budo
0
1K
Member Avatar for alvinreserva

We are creating a mobile app for our local school transportation (E-cab) for our thesis. We would like to try if this can be done without the use of internet. Our app will include a map primarily of the school. The mobile app can do the following: 1. Track each …

Member Avatar for peter_budo
0
222
Member Avatar for Steve_19

Helllo to all 1.11 members. Could someone paste and copy. Xml from a build.xml so I can see basic structue and conventions? Thank you.

Member Avatar for Steve_19
0
162
Member Avatar for Subrata_1

Hi all , I am trying to display order details when I clicked on in an order row view. On clicking view with respect to order id in order info respective order details will be displayed in a 'tr'in same page using ajax. Can any body post any link or …

Member Avatar for diafol
0
124
Member Avatar for titus.k.s

i ecounter problem again, this time different, i've success compile my project from.java to .jar then compile .jar to .exe, then i have try my .exe result, so at first was working well, but when need connection to database, that was appear notification connection failed .. thats all my problem.. …

Member Avatar for titus.k.s
0
91
Member Avatar for Suzie999

I'm having some problems cleaning up some of the processes my windows form application creates. I'm using selenium which starts a process instance of a browser and a browser driver among other things. Selenium library provides a Quit() method which if called inside my running application works just fine at …

Member Avatar for Suzie999
0
216

The End.