166 Topics

Member Avatar for
Member Avatar for bluehangook629

I have a sql query with that adds numerical values from different table to find total for a shipment. When I execute this query, it works fine for the first record but rest of the records show null value when I know there are records present. SQL pros please take …

Member Avatar for bluehangook629
0
351
Member Avatar for caut_baia

Hi everyone.I'm trying to compile a resource file ".rc" for a Win32 application but i'm getting this error "use "" to put " in a string".Among other things , i'm trying to define a MENUITEM with a string that looks like this "&Save\t\"Alt+S\"".i have tried escaping the '"' character with …

0
142
Member Avatar for bluehangook629

I couldnt find a forum for sql so Im going to post here. If Im in the wrong forum then please move me. I have a table with following data Fields: OID, Product, Condition, QTY DATA: 1, Product A, NEW, 60 2, Product A, B, 60 3, Product A, C, …

Member Avatar for bluehangook629
0
182
Member Avatar for ibthevivin

//This program will prompt for user to enter in the Fahrenheit temperature and convert it to Celsius. import java.util.Scanner; public class Project4 { public static void main (String[]args) { double temperature; double celsius; Scanner scan = new Scanner (System.in); System.out.println("Enter the current temperature in Fahrenheit: "); temperature = scan.nextDouble(); celsius …

Member Avatar for niranga
0
232
Member Avatar for domh87

Hi, I am building a site and i need to move the contents from one form to another on a different page. The code i have used worked fine when i was testing, but since i put it on my live site i get syntax errors which i think is …

Member Avatar for Airshow
0
145
Member Avatar for hindu times

Hi there, I posted another thread earlier about Recaptcha. I'm trying to implement a recaptcha into a form on my client's website. However, when I add this code (below) to the correct position in the page's source code, it's showing up with a syntax error on the line starting require_once('recaptchalib.php'). …

Member Avatar for hindu times
0
215
Member Avatar for zach&kody

After compiling this code, I am getting a "cannot find symbol constructor Timer(int,Morning)" on line 17. [CODE]import java.awt.*; import java.awt.event.*; import javax.swing.*; public class Morning extends JFrame { private EasySound rooster; private int time; /** * Constructor */ public Morning (int time) { time = 0; Timer clock = new …

Member Avatar for stevenwilson
0
394
Member Avatar for cbwhellmouth

Hi everyone, I'm totally new to PHP and I am trying to create a script that allows users to upload a picture which will then be emailed to me along with their details. When debugging, I keep receiving the message Parse error: syntax error, unexpected $end in C:\Users\Admin\Web\php-form-action.php on line …

Member Avatar for pritaeas
0
328
Member Avatar for cjohnweb

I have this in a script of mine: [code=javascript] function add_option(section){ var sec = section.id; var addnew = document.myform.addnew.value; alert('add_option: section: '+addnew); [/code] I am pulling text from the input with the name of addnew, and it works. I would like to use a variable in place of the "addnew" …

Member Avatar for cjohnweb
0
195
Member Avatar for WolfShield

I have a wxPython project that I want to add a syntax highlighting feature to the RichTextCtrl. I have the function and the binding, but it doesn't format the words when I type. If I bind the function to a menu item it works just fine. I am using "this" …

0
85
Member Avatar for lordjordysmith

i have been looking everywhere for an answer to this and i still havent found one that works what i want to be able to do is display the details of the user that is logged in but instead it shows the whole database here is my code: [CODE=php]<?php require('authenticate.php'); …

Member Avatar for lordjordysmith
0
1K
Member Avatar for Bazzaah

Hey there I'd appreciate some help with variables please. I have a search function on a site I'm building and would like to have it so that a user can click on a search result to see more columns from that row on the db, if you see what I …

Member Avatar for Bazzaah
0
107
Member Avatar for kira_

I always get this error: "Error updating joke: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '1' at line 1" There's something about this part of my code that causes that error and …

Member Avatar for faroukmuhammad
0
192
Member Avatar for _neo_

Hi all. I need to highlight comments on mcedit. 1) comments start with "--" 2) comments may may end with "\n" or with "--" how to do it in mcedit syntax file? These lines are my syntax file content which responsible to highlight comments context -- \n brown # here …

Member Avatar for _neo_
0
251
Member Avatar for Tomashqooo

[CODE]tomashqooo@Tomashqooo:~$ python Python/tcrack.py File "Python/tcrack.py", line 86 ostring2 = ostring2' -c 'station' mon0' ^ SyntaxError: invalid syntax[/CODE] That`s my error message when ostring2 and station are string variabiles and ' -c ' and ' mon0' is text. Please help me what`s the problem here???

Member Avatar for Tomashqooo
0
72
Member Avatar for orion3184

Hello, I'm new to assembly and am finding myself porting someone's MASM old code to C++ for portable smartphone architectures. There's a syntax on the memory addressing I'm having trouble interpreting. Can anyone help me understand what's going on? It's probably an easy question for everyone familiar with the syntax, …

0
144
Member Avatar for Dean_Grobler

Hi guys, I've recently started with the [URL="http://www.sencha.com/products/touch/"]Sencha Touch API[/URL], or should i say, [B]tried[/B], as the syntax is crazy and takes some getting used to. Anyways, I'm just struggling with basic layouts in my page. Don't want to go into too much detail if no-one here has ever worked …

0
75
Member Avatar for solvesak

The code given below is showing error: Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'group,type) SELECT ex_tax.username,ex_tax.exp_id,exp' at line 1 [CODE]$sql="INSERT INTO ex_cat (username,exp_id,used_category,group,type) SELECT ex_tax.username,ex_tax.exp_id,ex_tax.category,ex_tax.group,ex_tax.type FROM ex_tax WHERE ex_tax.username='$uname' AND …

Member Avatar for solvesak
0
99
Member Avatar for JSpudMonkey

Hey guys, i made a program that calculates a heat index for a area. User inputs humidity, tells actualy temeperaute. But when i compile it, it says i havea syntax error at the Scanner Input = new Scanner(System.in) line? why is that?[code]public class HeatIndexCalculator { private static final double c1 …

Member Avatar for NormR1
0
277
Member Avatar for satsum

[CODE]//===============Castle Siege Time==================== $castlesiege="16 AM"; //=============END Castle Siege Time=================== //=============SERVER EVENTS AND TIPS============ //Events $event1='Drop Event Today'; $event2='Find GM in Lorenica'; $event3='Race with unila in Lorencia'; //Tips $tips1='Server experience changed'; $tips2='New spots have been add'; $tips3='New items at lorencia bar'; //===========END SERVER EVENTS AND TIPS========== //=======POLL PASSWORD==== //Require when you …

Member Avatar for urtrivedi
0
559
Member Avatar for VengefulWrath

I'm having trouble with a MySQL INSERT query. I've used this exact code in many places, and even in different pages on the same web server. I feel like I've tried every variation of INSERT query with no luck. Here are a couple that I've tried so far: [CODE] $name …

Member Avatar for VengefulWrath
0
195
Member Avatar for vivosmith

Hello I have been using c for dummies along with bloodshed software for a day or so and I tried putting this snippet of code in from the book and I got a syntax error:[CODE]#include <stdio.h> int main() { char name[20]; char color[20]; printf(“What is your name?”); scanf(“%s”,name); printf(“What is …

Member Avatar for Narue
0
291
Member Avatar for gruffy321

Hi all, hope someone can help here, i cant seem to get this to compile. maybe im tired and have not looked at it, but its a bit like blind leading blind etc, meaning not sure what the error is referring to, i have enclosed an attachment image of the …

Member Avatar for gruffy321
0
158
Member Avatar for jay.barnes

Hello! I'm working on VBA within MS Access XP, and can't seem to get the proper usage of the split function down. I've been trying to make this work, but I keep getting the "Run-time error '9': Subscript out of range" error. Since the code of my project is kind …

Member Avatar for BitBlt
0
203
Member Avatar for Venku Tur'Mukan

print "Hello, World!" ;) Hi, everyone, Venku (a.k.a Python Newb) here. I just kind of randomly opened up Python today (I do that a lot), and I decided I would finally ask this: What does the "is" statement do in Python 2.7.1 (if the ver# matters)? I checked out the …

Member Avatar for Venku Tur'Mukan
0
792
Member Avatar for Speleo

Hey all, I'm relatively new to python, just started learning it about a week ago. I've been working on making some small scripts to make learning easier for me. This is a cypher script I've been working on that is based off of the order of letters used on a …

Member Avatar for predator78
0
268
Member Avatar for Rishikeshan

I am trying to dump the memory of my c++ app. [code=c++] #include <iostream> #include <fstream> using namespace std; int main () { ofstream myfile; myfile.open ("example.txt"); myfile << "Writing this to a file.\r\n"; myfile.close(); int *p; *p = 25; char b[] = "hello"; int a; for (a=0; a==-1; *(p++)){ …

Member Avatar for Rishikeshan
0
268
Member Avatar for Howdydoody

Im making a separate chaining hash table for dictionary words. In my insert method i use find to make sure there isnt a duplicate. Every thing compiles but my program stops at the find statement and quits working. If i omit the find method, which ok for the first word …

Member Avatar for Howdydoody
0
131
Member Avatar for Coyx

Hi everyone, I'm in a spot of bother. Attached is an image which should help better show what I'm about to ask for assistance with. :) [url]http://img96.imageshack.us/img96/7624/sqlm.jpg[/url] What I have, is 2 tables that associate each other with 'packholder' In the table shown, you can see Packholder - 1, 2, …

Member Avatar for Coyx
0
200
Member Avatar for stefh

Hi there, my name is Stéphane, i'm french and a beginner with Python... I've registered on a french forum about Python to ask a question regarding an issue i have with a code, but it seems the members of this forum are not active. I paste the message i posted …

Member Avatar for stefh
0
638

The End.