64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for daniel36

How can i get result between two date from database where date is in unix timestamp.How can i use WHERE clause to get result.I required in a project.

Member Avatar for diafol
0
193
Member Avatar for mohan gold
Member Avatar for bnitishpai

I am currently working on a very simple project. But I am having problem with special characters. The one character which I find very annoying is ' . This single quote / aphostrophe is ruining my project while entering names like "James D'souza". Can anyone please help me in recording …

Member Avatar for pedders
0
2K
Member Avatar for magyarosi.botond

Hi guys. I was wondering how Cnet Downloader, and ninite.com works. Is there a backend server which compiles the exe file before every download? Is there any other way to modify something in an .exe file without recompiling? Thanks.

0
120
Member Avatar for Depreciated

Hello people, I am new to crystal report. Normally, I would insert columns in the crystal report viewer and then look at the records at the Main Report Viewer. All the rows/records in that particular columns of that table will be shown. And then I found out about this SQL …

Member Avatar for Depreciated
0
331
Member Avatar for Webville312

I am trying to display values fetched from a MySQL database as an excel spreadsheet. Now, I have been successful to create a csv file using the code below; <?php error_reporting(0); include("includes/connect.php"); // This is the connection string to the database //Select the required records from the database $result = …

Member Avatar for Webville312
0
185
Member Avatar for thanadaray

At first, I have "C:/test02.txt" too good positive a film for stunt scheduling i think objective My codes with open('C:/test01.txt') as words: ws = words.read().splitlines() with open('C:/test02.txt') as file_modify4: for x in file_modify4: sx = map(str.strip, x.split("\t")) ssx = sx[0].split(" ") ## list for w in ssx: if w in …

Member Avatar for Lucaci Andrew
0
133
Member Avatar for ztdep

Dear friends: I download a c packge for my computation work. there is a function " aft2boundar(int *, double *)" in it. i write a "main.cpp" with vs2010, when i compile, it gives me the following error unresolved external symbol "int __cdecl aft2dboundary(int *, double*) but i have include the …

Member Avatar for ztdep
0
156
Member Avatar for vizz

This is my word "नमस्कार". (It is Indian language (Marathi language) ) mysql is showing like something in image attached How to store Unicode characters to Mysql to show properly?

Member Avatar for vizz
0
1K
Member Avatar for Fame95

I have the following code : using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace PentruTestari { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { richTextBox2.Text = "int int"; richTextBox2.SelectionStart = …

Member Avatar for Fame95
0
372
Member Avatar for MasterHacker110

I have this code in C++ but I dont know ho to do it in C. Any Help? Code #1: #include <vector> // for vector #include <sstream> // for stringstream #include <iostream> #include <string> int main() { std::stringstring ss; std::string input, temp; std::vector<string>; comand; std::cout << ": "; std::getline(cin, input); …

Member Avatar for Gonbe
0
136
Member Avatar for Proglearner

This is a complete js script I wrote while teaching myself js: /* The Extremely Long Compliance Quiz (TELCOQ) copyright (c) 2013 by Miki Kocic. All * rights reserved except that his program is being released under the GNU Public * Licence version 2 or later, with the version later …

Member Avatar for Proglearner
0
237
Member Avatar for lewashby

The following line of code should result in GROUPS holding a number from 1 to probably 4 or 5. I need the next line to simply add 1 to whatever this lines results to. I've tried a lot of tings in bash but I can't make it happen. Any ideas? …

Member Avatar for L7Sqr
0
108
Member Avatar for hwoarang69

i am trying to print the value of $ss. but it say 'qty' is undifine on line($ss = $_post['qty'];). index.php <?php echo" <form method='post' action='index.php'> <input type='text' name='qty' /> <button type='submit' id='opener01' name='b1'>submit</button> </form>"; echo" <div id='dialog01' title='ccc'> "; $ss = $_post['qty']; echo"$s; echo" </div>"; ?> jquery.js $( "#dialog01" ).dialog({ …

Member Avatar for diafol
0
181
Member Avatar for bangla

Hi, Everything is working fine except the start time. Once I click start, i want to see start time is ticking but start time does not change. I want future time static and start time dynamic. Please advise. <html> <?PHP $From = date("H:i:s"); echo "From $From "; $Minutes = 1; …

Member Avatar for diafol
0
161
Member Avatar for pham.vanmanh.50

My site is [seoitc.com](http://www.seoitc.com), we are using joomla for this site, but have 1 problem when i try auto redirect to anypage that show error: Warning: Cannot modify header information - headers already sent by (). I tried change redirect to use js but cant use same status(302,303...) same as …

Member Avatar for diafol
0
1K
Member Avatar for new_developer

Hi there, I am using code blocks and working on bank account programe. I have three classes but just included main function code. My programe works all fine, in which user create account and then deposite initial balance **but before end of do while loop, there is getline function to …

Member Avatar for deceptikon
0
1K
Member Avatar for rishif2

hello experts . . . there is one textbox , one label and one command button i have written following to print textbox content to label `label1.caption=text1.text` and when & is inputted in textbox then underscore(_) is placed in the place of &. and i know that we use & …

Member Avatar for AndreRet
0
241
Member Avatar for sagisgirl

hey guys..i wold like to ask something about my checkLogin.php i already created a form using index.php, then i want to validate the form using checkLogin.php. but after i fill up my form, nothing was display.. here aremy codes <? session_start(); include("inc/dbconn.inc"); if(isset($_REQUEST['btn_login'])) { $conn = mysql_connect($hostname, $username, $password); mysql_select_db($dbname, …

Member Avatar for sagisgirl
0
96
Member Avatar for poojavb

Hello Friends, Can anyone tell me how to increment a String variable by 1 in database. Suppose the database table has value as SL1000 and we want the next value to be SL1001. What should be done for such type of requirement in java.

Member Avatar for mrsathishkumar
0
720
Member Avatar for HunainHafeez

i am trying to pick a Varchar field (Question) from tblUser where email = session variable , it doesn't give error but picks -1 and shows it, why ? even that column isn't empt for the matching email code: String connectionString = "Data Source=COSANOSTRA; MultipleActiveResultSets=true; Initial Catalog=Waleed_orsfinal;Integrated Security=True"; protected void …

Member Avatar for HunainHafeez
0
218
Member Avatar for Proglearner

The following js script receives the variable "datum" from an external source and evaluates what type of data it is. Please, PLEASE tell me there's a more elegant way to write that particular code: // declare global variable var datumEval // is-datum-a-string function var stringCheck = new function() { if …

Member Avatar for diafol
0
209
Member Avatar for woooee

Hi Guys, Please be gentle with me as im a complete n00b. My favorite language is actually Java which im learning at Uni at the moment. However to throw a spanner in the works they have switched us over to Python, as well as learning Java. My mind has been …

Member Avatar for Lardmeister
1
173
Member Avatar for Vingklippt

Hi. I'm trying to get my hover-effect to work , but the php seems to destroy the hoverfunction. My javascript works fine if I remove all php-code. What have I done wrong? <?php $host="*********"; // Host name $username="**********"; // Mysql username $password="geronimo"; // Mysql password $db_name="***********"; // Database name $tbl_name="****"; …

Member Avatar for Vingklippt
0
256
Member Avatar for lewashby

I've got an array CALENDER=(31 28 31 30 31 30 31 31 30 31 30 31) I have two if statements that Need to get an index from the array above but when I feed a value into the brackets e.g. ${CALENDER[${SECONDDIGIT}]} or ${CALENDER[${FIRSTDIGIT}]} it seems to only be getting …

Member Avatar for lewashby
0
119
Member Avatar for Netcode

hi everybody! i want to get all drives and their directories and sub-directories displayed on a tree view just as windows explorer. pls i need very comprehensive codes to do that...thanks

Member Avatar for laurencenico.sembrano
-1
95
Member Avatar for 111100/11000

http://en.wikipedia.org/wiki/Transposition_cipher#Columnar_transposition This is wiki site of what am trying to do #include <iostream> #include <cstring> #include <cmath> using namespace std; char GRID[3][80]; int MENU(int menu_choice); int REVIEW_OF_GRIDS_FIRST_79_CHARACTERS(int four); int main() { cout << " This is RAIL FENCE CIPHER\n" << endl; //----------------------------------------------------------------------------------------------------- //filing GRID with asterisks(*) char asterisk='*'; int k=-1; …

Member Avatar for Gonbe
0
2K
Member Avatar for istore221

okey i have upload my site everything works just fine except my contact form here's my code FYI - Im very new to the php <!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> </head> <body> <?php $user_name = $_POST["NameBox"]; $user_contact …

Member Avatar for istore221
0
276
Member Avatar for nmakkena

Hi I am populating my combobox with table's data (example table name is "ITEMS" and table is having only one column and that is displayed as combobox items). In my form i am having i combobox,button and textbox. I will enter a new item in textbox and if i click …

Member Avatar for 03hasnam
0
3K
Member Avatar for neha05

Hiii I have two tables 1.category_sub sub_id category_id category_name description event image 2.category category_id category_name my query is that how can i get both values category_id and category_name in category_submy code is that like <?php include("connection.php"); $query_1 = "SELECT distinct(category_name) from `category` "; $result_1 = mysql_query($query_1); $category_name=""; $subcategory_name=""; $description=""; $event=""; …

Member Avatar for neha05
0
139
Member Avatar for ehpratah

hi fellas out thiere im having a headache right now in sending email with attachment..im using ftp in storing the file in my dirctory and sending it to my email...i can upload the file and send it but the prolem is when i try to dowload the file from the …

Member Avatar for ehpratah
0
218
Member Avatar for chocomilk

I am developing a code where im getting the interval of two dates for example DTLeavePayFrom = 1/1/2013 DTLeavePayTo = 1/14/2013 since 1/1/2013 is tuesday and 1/14/2013 is monday, the date diff of both date is 14 but how can i exclude the count of 2 sundays, i have an …

Member Avatar for chocomilk
0
101
Member Avatar for jspence29

My site is www.jeremyspence.net78.net. As you scroll down I want to make the main menu dissapear(the one menu you see now) and another smaller menu (kinda like the apple menu from apple.com) appear on the top that is fixed, I was thinking about making a sticky menu, but I want …

Member Avatar for JorgeM
0
221
Member Avatar for kent.johnstone

I need to convert a DWORD into 4 bytes to send to serial RAM. All the examples of using SPIRAM, EEPROM and FLASH use `*variable` to send and receive. I can break the DWORD down into bytes which I stuck in a `char[3]`. I don't, apparently even with all my …

Member Avatar for Ancient Dragon
0
210
Member Avatar for joshl_1995

Hello Community, Is there a way to make it so a cookie will expire after the user has been inactive for 10 minutes. Please Help...

Member Avatar for joshl_1995
0
250
Member Avatar for DaveyMoyes

Hi everyone - I am helping to build a website for a good friend of mine & we are adding into the website an easy to read conversion rate. The only problem we have at the moment is the value is being displayed incorrectly. for instance - If the website …

Member Avatar for DaveyMoyes
0
158
Member Avatar for HunainHafeez

i want to make this string , "'basic@yahoo.com'" like this "basic@yahoo.com" in asp.net , via .Repalce function,

Member Avatar for stbuchok
0
106
Member Avatar for WDrago

All, I'm trying to use a RichTextBox to display the revsion history of my program, and I can't figure out how to format the text (bold, italic, etc.). I'm using the String Collection Editor in the Lines Property. Anyone know how to do this, or if I should be using …

Member Avatar for tinstaafl
0
610
Member Avatar for Proglearner

As an exercise to help learn JS, I wrote a short bit of code that defines an array of random integers and then randomly logs one of them. Here's the code: var turkey = true var crud = [] for (i=0;i<10;i++) { j = abs(Math.random()* 10); crud.push[j]; } while (turkey) …

Member Avatar for Proglearner
0
127
Member Avatar for lewashby

I wrote the following script to try and get validate if a date was valid or not. I think I've about got the script done but I'M having some trouble getting the values from the array. When I input 11291985 into the program I'M getting "29 is invalid" I can't …

Member Avatar for lewashby
0
125
Member Avatar for brock.holman.7

// hi-low guesser #include <iostream> #include <string> using namespace std; const int NUMBER_OF_GUESSES = 5; int main() { string firstName; int computerGuess; int numGuesses = 5; char answer; int min; int max; cout << "please think of a number between 1 and 100, and I will try to." << endl; …

Member Avatar for brock.holman.7
0
141
Member Avatar for bradly.spicer

Hey all, Looking for some quick guidance, Trying to make it so that I can have a field which presents how many customers the database has. E.g This is the DB: http://prntscr.com/o2vuf This is my php: <?PHP $id_customers = "SELECT id FROM Customers"; $Customeramount = mysql_query($id_customers) or die(mysql_error()); echo $Customeramount; …

Member Avatar for bradly.spicer
0
206
Member Avatar for Violet_82

HI peeps, I have a question about the following program: TempScale.java: public enum TempScale { CELSIUS, FAHRENHEIT, KELVIN, RANKINE, NEWTON, DELISLE, R�AUMUR, R�MER, LEIDEN }; Temperature.java public class Temperature { private double number; private TempScale scale; public Temperature() { number = 0.0; scale = TempScale.FAHRENHEIT; } public Temperature(double number) { …

Member Avatar for Violet_82
0
235
Member Avatar for sana.f.qureshi

AFter asking for name, it doesn't ask for other things, just gets to the end where it says "game has been developed by.." Kindly guide me what i am doing wrong. i am a beginner, trying to learn. Thank you! Here is my code: #include<iostream> #include<conio.h> #include<stdlib.h> #include<stdio.h> #include<time.h> using …

Member Avatar for sana.f.qureshi
0
191
Member Avatar for vikuseth

Inside FileTwo.h #ifndef FILETWO #define FILETWO #include"FileOne.h" class FileOne ; class FileTwo { public: int Test(FileOne One){ return (One.var1+One.var2);} FileTwo(void); ~FileTwo(void); }; #endif Inside FileOne.h #ifndef FILEONE #define FILEONE #include"FileTwo.h" class FileTwo ; class FileOne { private: int var1 , var2 , var3 ; public : friend int FileTwo::Test(FileOne One); …

Member Avatar for vikuseth
0
207
Member Avatar for Minko

Hello, I have a tcplistener and a tcpclient. If the client computer went down for some reason, what would be the best way to handle disconnections. Thanks in advance, Minko

Member Avatar for Minko
0
83
Member Avatar for jairuz.com.ph

I have 2 tables: tblUser: +------+-----------+ | id | Name | +------+-----------+ tblItems(this table accepts multiple checkbox value depending on how many user selected): +------+-----------+---------------+ | id | items | name_id | +------+-----------+---------------+ `name_id` will get the value of `id` in `tblUser` I use this code to get the value …

Member Avatar for simplypixie
1
200
Member Avatar for eburlea

Hi all. For 3 days I have searched the web to find out how it works, unfortunatelly with no success. I need to compare the encrypted haptcha code with my text, both of them sent by a form. if(!isset($_POST['my_text'])) { $view = new Zend_View(); $captcha = new Zend_Captcha_Figlet(array( 'name' => …

Member Avatar for eburlea
0
168
Member Avatar for ProgramGuy

Hey everyone! Happy New Year! I am trying to hone my programming skills by writing simple applications. I created a very simple currency converter program (hard-coded exchange rates....so nothing special). I first created it as a console app, and then in WPF. Anyway, I ran into an issue with the …

Member Avatar for ProgramGuy
0
754
Member Avatar for borix134

Alright Im new to this forum so lets hope this goes well, I have decided to learn Java and I started with the lwjgl, I have the exact class and code as posted here: [lwjgl (display)](http://www.lwjgl.org/wiki/index.php?title=LWJGL_Basics_1_(The_Display)) When I run the code I get an error message that says: `JavaVM WARNING: …

Member Avatar for borix134
0
292

The End.