166 Topics

Member Avatar for
Member Avatar for kindofsudden

Okay, I'm pulling my hair out. I'm getting NO error on the following code: Dim cmd As New OleDb.OleDbCommand("CREATE TABLE [" + empTableName + "] ([ID] DOUBLE, " & _ "[LnameFname] TEXT(255), " & _ "[Location] TEXT(255), " & _ "[SalaryOld] DOUBLE, " & _ "[FtePercentage] DOUBLE, " & _ …

Member Avatar for kindofsudden
0
249
Member Avatar for Nonye

what are the rules of graph construction and using the example: S::= A/B A::=XA/Y B::=XB/Z

Member Avatar for rubberman
0
132
Member Avatar for de Source

hi i am new to sql i want to get some values from different tables and i have made my own logic like that "SELECT course_name, course_id FROM tbl_course WHERE course_id = (SELECT course_id FROM tbl_enrollment WHERE student_id = '" + lbl_StudentID.Text + "')" what could the correct sytax for …

Member Avatar for de Source
0
248
Member Avatar for andyshera
0
120
Member Avatar for dreday92

I am having a few compiling errors due to the syntax confusion on some the functions, Im confused to what im doing wrong, I know its a simple solution I've just been looking at this for hours and cant figure it out. //Header File #ifndef BST_H #define BST_H #include <iostream> …

Member Avatar for rubberman
0
251
Member Avatar for karenhaha

I have been using Python for a few months in a Windows environment with IDLE. I installed Python on my (new) Macbook and opened the same files, but am now getting strange results. These are scripts that worked fine in Windows: 1. When I use a function to open and …

Member Avatar for karenhaha
0
263
Member Avatar for itsmecisz

Hi There, Ive been searching everywhere in google but i got nothing. What i need is to be able display user datail after he login on a certain textbox Login.php page code: <?php session_start(); ob_start(); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> </head> <body> <?php …

Member Avatar for Caeon
0
255
Member Avatar for hunterious.latham

So Heres The problem code i get a Parse error: syntax error, unexpected $end in /home/crysta21/public_html/4dM1n1STr4+10nB4nk.php on line 149 from <?php /* MCCodes FREE cyberbank.php Rev 1.1.0c Copyright (C) 2005-2012 Dabomstew This program is free software; you can redistribute it and/or modify it under the terms of the GNU General …

Member Avatar for broj1
0
462
Member Avatar for pars99

I have been making an Adventure Game and when I try to test it, it always comes up with Hello! Welcome to the adventure game! What is your name? Parsia Parsia? Well hello there! Let us begin... You are at a trail with two paths. Left or right? left Traceback …

Member Avatar for vegaseat
0
274
Member Avatar for arpitagrawal294

This is my code... i'm getting error that "Primary expression missing" in all places where i have ritn desc[i].code or desc[i].cost. May be i'm using wrong syntax for strcutures; #include<iostream> #include<conio.h> using namespace std; struct desc { int code; int cost; }; void del(int x, int count) { int i; …

Member Avatar for arpitagrawal294
1
180
Member Avatar for ssfreaky

Hi, I am a site owner with zero php experience. I have accidently deleted one letter from a header script and it caused my site to crash. I need desperate help. It shows Parse error: syntax error, unexpected T_STRING in /home/spark496/public_html/www.sourcetutoring.com/wp-content/themes/directorypress/header.php on line 152. Can any expert please help? This …

Member Avatar for widi05
0
358
Member Avatar for sreee

i tried editing the code of wordpress bombax its theme of my company website- i messed up .. now iam getting the message : Parse error: syntax error, unexpected T_ENDIF in /home/content/61/7418061/html/wp-content/themes/bombax/functions.php on line 219 icant access any page. not even dash board to replace with the original code. .. …

Member Avatar for EvolutionFallen
0
236
Member Avatar for Tsaou

Hi, recently i started taking lessons on c programming and my first assignment was to make programm which would name all the perfect multiperfect or superperfect numbers within a set (whose limits will be given as #define constants) and their percentage. Anyway apart from any logic errors (which i would …

Member Avatar for Gonbe
0
299
Member Avatar for savedlema

Hi friends! I have a piece of code that I think should be working just fine, but I wonder why it doesn't work, and I get an "Syntax Error in INSERT statement" error message. Here is the code to affect a table called "Users" in my Access database. Dim cmd …

Member Avatar for savedlema
0
358
Member Avatar for scales

i added this code to my index.php (joomla ja-purity file 1.5) <?php if($this->countModules('user6')) : ?> <table class="nopad user6user7"> <tr valign="top"> <?php if($this->countModules('user6')) : ?> <td> <jdoc:include type="modules" name="user6" style="xhtml" /> </td> <?php endif; ?> <?php if ($this->countModules('user6') and $this->countModules('user7')) : ?> <td class="greyline">&#160;</td> <?php endif; ?> <?php if ($this->countModules('user7')) : …

Member Avatar for scales
0
452
Member Avatar for Kryptonitex

I got 2 Declaration syntax error... i really need help :D Thanks! Btw .. i'm using Borland C++ #include<iostream.h> #include<graphics.h> #include<stdlib.h> #include<stdio.h> #include<ctype.h> #include<conio.h> void main() {clrscr(); int opt,opt1,opt2,opt3,opt4,opt5,opt6; /* request auto detection */ int gdriver = DETECT, gmode, errorcode; int style, midx, midy; int size = 1; int x,y; …

Member Avatar for Kryptonitex
0
220
Member Avatar for joshl_1995

Hello Community, I was wondering if its possible to make an editor like [Notepad++](http://notepad-plus-plus.org) (I'm talking about the text area). So it will change the colour of the words (funtions and commands) also with the margin with the numbers and the code folding. Please help with what you can even …

Member Avatar for joshl_1995
0
531
Member Avatar for scholarwithfire

Hello, i'm having some problem when comparing date (from user input) with the date inside database. The format of both dates are the same (YYYY-MM-DD). This is the error it shows > You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version …

Member Avatar for diafol
0
106
Member Avatar for LastMitch

Hi I want to find out is there a way to check syntax errors on PHP. I went to this site http://php.net/manual/en/function.php-check-syntax.php but I didn't quite understand the example in there. Is there a software that I can check the errors. I used EasyPHP, WAMPP. I appreciate any links or …

Member Avatar for LastMitch
2
573
Member Avatar for kbat115

I've been having a bit of problems with a file. Here is the script that I'm having issues with and the exact error is as follows: Parse error: syntax error, unexpected $end in /hermes/bosweb/web168/b1683/ipg.xoizocom/pba/login/index.php on line 239 <?PHP require_once("globals.php"); $INFO = array(); $ipsclass = new ipsclass(); $ipsclass->vars = $INFO; $script …

Member Avatar for andyy121
0
526
Member Avatar for salii

Hello. I'm trying to upload a logo to my website. I have to replace <h1 id="logo"></h1> to <?php theme_logo(); ?> The code is: ?> <<?php echo $tag; ?> id="logo">> <a href="<?php echo get_option('home'); ?>/"><img src="<?php bloginfo('template_url'); ?>/images/logo.jpg" alt="<?php bloginfo('description'); ?>" /></a></<?php echo $tag; ?>> When I change it the code …

Member Avatar for salii
0
195
Member Avatar for HTMLperson5

This is a program intended to write text to any file specified var_file = (raw_input('nof$ ') #nof, number of files. try: text = str(raw_input('ttwtf$ ') #ttwtf, text to write to files. print text >>> var_file except ValueError: print "Error: Not a string" main() When the program starts the "`try`" part …

Member Avatar for HiHe
1
171
Member Avatar for Hazardous_Byte

Hello everyone! I am having a bit of an odd problem here. So, on my Visual Studio project, I decided to use a precompiled header. This didn't seem to cause a noticable problem up until today. I have a small segment of code that is supposed to remove one element …

Member Avatar for Hazardous_Byte
0
669
Member Avatar for labise

<?php // Set up the database connection $dsn = 'mysql:host=localhost;dbname=lafamosa_plaincart; $username = 'lafamosa_kermis'; $password = 'lafamosa1980'; $options = array(PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION); try { $db = new PDO($dsn, $username, $password, $options); } catch (PDOException $e) { $error_message = $e->getMessage(); include('errors/db_error_connect.php'); exit(); } ?> Parse error: syntax error, unexpected T_STRING in /home/lafamosa/public_html/dene/model/database.php …

Member Avatar for phorce
0
139
Member Avatar for marreameathue

help i'm rather new at this but have some understanding but am having some probs with 1>c:\users\kysinden\documents\visual studio 2008\projects\real\real\test.cpp(8) : error C2144: syntax error : 'int' should be preceded by ';' 1>c:\users\kysinden\documents\visual studio 2008\projects\real\real\test.cpp(9) : error C2447: '{' : missing function header (old-style formal list?) i am makeing an number …

Member Avatar for phorce
0
370
Member Avatar for salii

hello, I have a problem with database. there is a syntax error unexpected T_variable. could you please tell me what is the error in this script? thank you

Member Avatar for salii
0
1K
Member Avatar for dgibbons82

I am currently working on a simple survey system for educational purposes. I know it is subject to SQL Injection, but I am new to PHP/MySQL and wanted to learn something basic so I have something to build upon later. Basically, I have an HTML form that processes the PHP …

Member Avatar for broj1
0
5K
Member Avatar for xiiopao

Good day guys., im new with vb .net and im currently developing a simple information system for an agency .. im almost done with it but there seem to be a problem with my update statement for the change password code here's my code.., Imports System.Data.OleDb Friend Class login Public …

Member Avatar for xiiopao
0
230
Member Avatar for melaki

Hi all, After spending 2 days going through this code, going through search engines and endless forums trying to find a solution, i find myself still on Square 1. Therefore just before I begin hitting my head against the wall (have pity on the poor wall) I thought I'd give …

Member Avatar for |-|x
0
175
Member Avatar for dgibbons82

I am new to PHP/MySQL and currently working on a project to learn it a little better. I have a bit of PHP code and it has a problem that I'm having a little trouble figuring out. Basically, it is taking session data and writing it to a MySQL database. …

Member Avatar for veedeoo
0
301

The End.