199,113 Archived Topics
Remove Filter ![]() | |
In my full program. I managed to finish my own thesis project from a certain bookshop company. It's features has: 1.) CMS ( Catalog, Gross Revenue, Number of Users, Number of Orders, Contact details of customers, Multiple admin Accounts, update-able Currency Foreign Exchange (from Oanda.com), paypal module, one-to-one and one-to-many … | |
Hi, this works well on my localhost but when I upload it to my web server I get: Parse error: syntax error, unexpected T_STRING in /home/zupa/public_html/grafika.php on line 1 This whole xml thing is new to me and I really dont know why doesnt it work on my server (while … | |
I am reading data from a mysql db to my webpage. I wish to make a google pi-chart but have no idea how to pass the data from php (html?) to javascript(?) to populate the graph. I'm reading the rows into the html page ok, they are dispaying in a … | |
evening !! i just want to ask if can you help me on how to create graph using php ? | |
This is my prompt. Write a program that asks the user how many twin primes the user wants to find, reads in that goal, and then successively examines the numbers starting at 2 to see if the number is a twin prime. The program stops when the specified number of … | |
[ATTACH]22040[/ATTACH] the following code displays output as in attachment.. it skips some of the value.. in the above output, am not getting group name for DTA. but if i add [CODE]where groupid='DTA' in query[/CODE], it displays groupname. what went wrong here? please help.. thanking in advance. [CODE] while($rowmain=mssql_fetch_array($resultmain)) { $course … | |
[CODE]#include<>stdio.h main() { int n,s=0,i=1; L1:printf("enter a range of numbers:"); scanf("%d",&n) if(n<1){printf("\wrong input"); goto L1;} while { s+=i; i+=2; } printf("\nthe sum of the series is=%d,s"); getch(); }[/CODE] the above program is meant to find out the sum S=1+3+5+7+....+N can any on explain me,the significance of talking i+=2?? | |
Hi ! everyone. I can write small [B][I]"C" Language[/I][/B] programs, compile them in an IDE like Turbo C. But how to make a complete [B][I]Working Software Application[/I][/B] . Do i need only one .c file or many others. How to make a complete large piece of software system as opposed … | |
I have written an application which extracts a list of URL's (currently in Internet Explorer cache) from an XML file and displays them in a data grid view. From here i would like to launch Internet Explorer in a hidden mode and capture an image for each of the selected … | |
why my vb6 crashes whenever I add a label? I tried uninstalling and re-install vb6 but it seems not to fix the problem. How can I remove all vb6 files and components? | |
I can't seem to get my register page working with a password. This is the query I executed: [CODE]CREATE TABLE dbUsers ( id INT(10) NOT NULL AUTO_INCREMENT PRIMARY KEY, username VARCHAR(16) unique, password CHAR(16), email VARCHAR(25) );[/CODE] It only registers if there is no password filled.. | |
hi experts.. I'm new to javascript/ajax and i need to upload a picture to a server then the server will send a preview without redreshing the page..how can i do that? any suggestion? or sites for tutorials? thanks for help.. i need this ASAP.. | |
[youtube]OQIw0p_yvYQ[/youtube] [b]Changes since 0.7:[/b] [list] [*]The automatic camera was improved. The rotation restrictions were modified. The option to disable the restrictions was added. [*]User interface was improved. Preview for layouts and saved games was added. [*]Support for translations was modified and improved. Also we fixed a German version. [*]Added new … | |
Hi Guys, There are unwanted character in my columns. this character is came from the bulk insert. How tdo i removed this character using scripts. Please see sample below. [CODE] ItemCode--Item Number ---------------------------------------------------------- 123--Phone power on but vibrate is too weak P300-3110-VX8575 124--place a test call. P300-1710-DROID 125--power issues.touchscreen not … | |
I'm making a simple box in the header of Joomla that displays the total quantity and total value of the cart. It works perfectly in VirtueMart, but once I leave the storefront the (Total) value is removed. How do I fix this? I would like to set a permanent super … | |
I'm almost done making my registration system on my home server. Thanks to everyone for your help. The last thing I would like to know is why it says: Error: [U]User not added to database.[/U] This is part of my register code: [CODE] // Fields are clear, add user to … | |
I've created an html page with forms, and what I need is for each new person that clicks the 'submit' button, have the text in the fields print to a [B]new line[/B] in the output.txt file on the web host. This is what I have so far: [CODE]<?PHP $filename = … ![]() | |
So I've been trying for about a month or so but been busy recently so couldn't address it then. Here is the code. [CODE]Public Class Form1 Dim CurrentTime As DateTime Private Sub ButtonStart_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ButtonStart.Click ButtonStart.Enabled = False ButtonPause.Enabled = True CurrentTime = … | |
I thought I'd play around with vPython so I wrote a 3D breakout game (I used to have one on my Amiga and I haven't seen one for Windows). Everything is done except for one wee problem. I want to idle while waiting for the user to click the left … | |
I am trying to insert a piece of html code into a web browser control in vb 2010. i have tried the [COLOR="Green"]webbrowser1.documenttext[/COLOR] function but cant seem to get the browser to run the html code. can anyone help? thanks | |
Hi I thought iI would try to teach myself how to program, so sorry if this has been asked before but I could find it. What I am trying to do is limit an input to of an int to 50 or less with out the program throwing up an … | |
I have a commenting system on my website which displays the date and time of when something was commented. I have used this method to do it at the moment: [CODE] date_default_timezone_set("Europe/London"); echo $date = "posted on " . date("Y-m-d") . " at " . date("H:i:s") . "<br><br>"; [/CODE] I … | |
I made a scanner, took asked the user to input an int, then a String and then another String. But after I put in an int and press enter, it skips the 2 String inputs. Why? How can I fix it? | |
Hello, like before, I'm still trying to make a register page with login and logout. Here's the link to my server (If I'm not allowed to share links please remind me.) [url]http://fifarulez.dyndns.org/hacks4all.wapzan.com/registration/[/url] After the registration it will give 2 warnings. ( ! ) Warning: mysql_query() [function.mysql-query]: Access denied for user … ![]() | |
I have a script written up that takes an image and displays it. I originally intended to have the image then have parts fall away, but I am having trouble getting parts of the image to move separate. Is there a simple way to do this or am I going … | |
Hi I have an occasional problem with the following scripts Here is the file upload form [CODE] <?php session_start(); if(isset($_SESSION['username']) == false){ header("Location: login.php"); exit(); } if(($_SESSION['userlevel']) != 'admin'){ header("Location: login.php"); exit(); } ?> <!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" /> … | |
Good Day, I have troubles with compiling MySQL++ with Visual Studio 2010 Express edition, I've downloaded MySQL Complete Pack and installed Development tools (server, includes etc), downloaded MySQL++ 3.1.0 and runned vc2008 solution with my vc2010 and compressed it for 2010, I've included everything from MySQL folder and MySQL++ install … | |
what;s wrong with this mysql trigger logically?? [CODE] DELIMITER | CREATE TRIGGER comment_count AFTER INSERT ON comments FOR EACH ROW BEGIN UPDATE sub_sections as t1 SET t1.published_comment_count = (select count(id) as cnt from comments where article_id=t1.id and published=0 and status=0) WHERE id= (select article_id from comments order by date_modified desc … | |
Running into an issue trying to fill a vector of structs. I am completely stuck. Here the assignment question Using the data file provided on the next page, write the C++ program to implement a vector of structs containing wines, vintage and scores. Create a file names wines.dat using the … | |
For some people it may be difficult to understand what Boolean is.Well, it's a type of algebra. We will be learning about three Boolean operators today-AND,OR,NOT The order for evaluating Boolean operators are as follows:- AND-If you have a code that should be executed if two conditions are true, you … | |
I get this error when I run my applet on a website [CODE] Java Plug-in 1.6.0_26 Using JRE version 1.6.0_26-b03 Java HotSpot(TM) Client VM User home directory = C:\Users\Adam ---------------------------------------------------- c: clear console window f: finalize objects on finalization queue g: garbage collect h: display this help message l: dump … | |
Hello I am trying to figure out how I can use a while loop to construct an object and ask the user if they want to construct another one and add 1 to the name. For instance I am creating an Employee class that I want the name of the … | |
What does this error mean? invalid operands of types `float[20]' and `float[20]' to binary `operator+' I can't use the + operator when adding array elements? This is my code lines, I'm just trying to add the four surrounding values in a [20][20] array of numbers to the element that's in … | |
Hey everybody,it's the c++ creator.I am a beginner at C++,and am getting confused at functions.I am learning from a site called cprogramming.com and this is what they say- [QUOTE]Lesson 4: Functions (Printable Version) Now that you should have learned about variables, loops, and conditional statements it is time to learn … | |
<?php include "db/config.php";?> <?php function loginCheck($username,$password) { $sql=mysql_query("select UserId, UserName, Password from user_login where UserName= '$_POST[username]' and Password= '$_POST[password]'"); $name=$sql['UserName']; //echo"hi".$name; //select * from user_login where UserName='mownam' and Password='welcome' $result =mysql_query($sql); //$uname=$_REQUEST["username"]; if(mysql_num_rows($result) > 0) { echo "<center>successfully logged<br />".$uname; } else { ?><div align="center" style="background-color: #FFFFCC"style="font:"Courier New" , Courier, … | |
Hi, I have installed Netbeans IDE 7.0.1 for php application and created a demo application. When i executed the application in the browser following url [url]http://localhost/CSR/index.php[/url] and error : Oops! Google Chrome could not connect to localhost Please help. Thanks, Nikita ![]() | |
I am working on a program with two classes that is supposed to handle hotel information and am getting confused on how to work with an array properly. Here is my code so far: [CODE] public class Hotel { Scanner scan = new Scanner (System.in); public int[] HotelArr = new … | |
I'm having issues with a third level Toplevel in tkinter, that is to say having a toplevel popup from another Toplevel. [CODE] self.emailbttn= Button(self, text='Email', command=self.clientchooser) def clientchooser(self): showing.withdraw() client_choose() def client_choose(): global client client=Toplevel() client.title=('Choose Email') client.geometry=('800x600') Client(client) class Client(Frame): '''Choose Email Client''' def __init__(self,master): super(Client, self).__init__(master) self.grid() self.create_widget() … | |
Hi I am engineering student, currently working in image processing. I have big issue in understanding few basic concepts in programming. To be frank I am beginner, so my question will look silly, so please tolerate with me and if anyone can help me it would be much use full … | |
So i'm working on a java program where I ask for a file name, read it into an array. My problem is that im using a string tokenizer to delimit my commas and that put the student information into an array object. I have 10 arrays that are supposed to … | |
I have been trying to write this code that calls a text file in the command line, it then reads the file and if the file has integers that look like this (1+2+3+5)it takes there sum and outputs it into a different text file, if it looks like this (1+2 … | |
I installed mysql and apachi form fedora14 installation dvd when I installed fedora. no I want to run mysql interpreter for training mysql (I'm student). when I run mysql command I receive error: [CODE]$ mysql ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)[/CODE] I looked … | |
I'm creating a program that perform store data and retrieve data from the arraylist. I have no clue make the program find the data in Arraylist and display the data that user is looking for. If data is not in the list, the program would print the line say that … | |
I'm used to c++ along with an open database (switched from mysql to postgres not too awful long ago.) A new job I'm looking at taking focuses heavily on .net along with SQL Server. As such, I've been looking into the .net framework and what I can't seem to figure … | |
Hello, This is my first time using vectors. The code below creates a vector of size 30, but when I run the program (which loads 30 integers into the vector), the last integer in my data.txt file does not load into the vector. When I use a vector of size … | |
I'm used to c++ along with an open database (switched from mysql to postgres not too awful long ago.) A new job I'm looking at taking focuses heavily on .net along with SQL Server. As such, I've been looking into the .net framework and what I can't seem to figure … | |
I don't know am i asking right question or not but my question is: I want to create a simple search site so I've team with different jobs. I have its database part to handle. I should create its database and i have not idea what should i do. I'm … | |
Hello All I just made a simple media player in c sharp.My code is [CODE]axWindowsMediaPlayer1.ContainingControl.BackgroundImage = Properties.Resources.Image1 ;[/CODE] But it is not working..................Please tell me. Thanks Advance | |
Guys, I have an entity-relationship diagram which I created for the Online Election Voting System, like a student government in the school. Can you guys check if this is correct? Attached to this thread contains my entity-relationship diagram. | |
Hi, I have error message . Please help me. 17 Attribute value "001" of type ID must be an NCName when namespaces are enabled. I am attaching file <!DOCTYPE cataloge [ <!ELEMENT cataloge (DVD)* > <!ELEMENT DVD (title?, genre?, rating?, viewerrating?, summary?, year?, director?, runtime?, studio?, actor? ) > <!ELEMENT … |
The End.