199,114 Archived Topics
Remove Filter ![]() | |
Hey guys, So at my company there are two i.t. guys, me and another dude, but he does not have the time, nor brain to teach me a couple things for connecting to out sql database for my app so I have to go online. Im having real trouble as … | |
Hi all, im sorry, im just a beginner, I had never come across to such circumstances. Submit a form, with while loop, how am i going to retreive every single value submitted from the form? [ICODE] <form name="pay" action="pay.php" method="post"> <?php while ($row = mysqli_fetch_assoc($result)) { echo ' <th width=70% … | |
<html> <head script type="javascript/text"> <script> function validate() { var html=document.getElementById(<?php '$count1'?>); <?php session_start(); $_SESSION['fuserid']=?>="html" } </script> </head> </html> <?php session_start(); $database="myfriend"; $userid=$_SESSION['user']; mysql_connect("127.0.0.1","root",""); $db_found=mysql_select_db($database); $sql="select fuserid from friends where userid='$userid';"; $result=mysql_query($sql); $count1=0; while($db_field=mysql_fetch_assoc($result)) { ?> <body> <a href="displayprofile.php" id=<?php =$count1; ?> onclick="validate(this)"> <?php print $db_field['fuserid']."<br>"; ?> </a> </body> <?php $count1=$count1+1; … | |
Hi, I've got a main project coming up and i've been thinking about creating a non english based programming language,ie in my mothertongue malayalam. But i'm not sure if its feasible. Also, should it have its own programming syntax or emulate some other programming language like C? Can someone lead … | |
So here it is, this is my new problem, we were assigned to create a simple ATM Machine: Automatic Teller Machine [B] Balance Machine [D] Deposit [W] Withdrawal [Q] Quit Select you option: (input letter here) when i choose balance this window should pop out: Your Balance is 0.00 OK … | |
hello I have a section in my website, where people can upload photos. the gallery is divied into different categories. I modified the original script so people can add a photo from anywhere in the website (before they had to go a certain category and then upload a photo to … | |
Hello, I'm having a problem with finding and printing an element in a vector. I want to search my vector to see if an element starts with a sub-string, and if it does, I want to write the whole string to a file. The first part is done, I just … | |
Is there anyway we can clear only a selected part of the console window? clrscr() from conio.h & system("CLS") clears the whole screen. So how to clear screen selectively? For example, one of my old code prints this, [ICODE]Enter the limit for the array size (Max: 20) 10 Enter the … | |
Hello , Friends I am doing googlemap integration . Though i completed it as per my project requirements but i have very small area for displaying map. And as we all know html window on marker have some fixed size. but i found in my reference site that they edited … | |
How to display data in datagridview starting from the record which we pass at runtime? In C# For example, there is 10 rows in a table. When i run the app i'll pass 5th record's value so it should show all data of table starting from 5th row. | |
Hi everyone, I have created tables and deleted some rows and then inserted new rows. The IDs of the later created rows didn't start at 0 or 1. I dropped my entire database then recreated the same one with the same tables and fields. Unfortunately, newly entered rows started from … | |
Hi friends, Error Occur when i run the Project in C++? Error is: 0x5f43351b reference memory at 0x00000000 .The memory could not be "read".Please why will this error occur and How can i solve this problem? Please help me.IT is a Urgent | |
Guys I have this kind of problem where in I have a listbox and two buttons. Each of my button is labeled UP and DOWN. When I press UP, the current item in my listbox will be moved one level (or index) up and when I press DOWN button the … | |
I'm looking for a decent directory scripts. I've looked at clones, free and commercial. The commercials look promising but am not sure if they really are worthit. I really need to be able to edit the theme/template and wouldn't mind if there were a plethora of themes available. Are there … | |
Hi All, I'm stuck regarding to grab connection from app.config file...i'm surf many type and kind to do it..but still can',t.....i need to connect into two database (oracle n firebird).....how to do this..hope u all can help me....tq | |
Hello i made a phonebook script on python. I am quite new and have been only learning for less than a day and i cant get it to save the entered phonenumbers (is resets to default everytime you quit) Please help me with the code please! [CODE]phonebook["test"]=12345678 def searchname(): print … | |
When I am sending via Gmail using phpmailer, the email is taking a long time to send and also sometimes it is not going. I am using XAMPP as localhost. Here is my Code: if($_POST['submit']{ /*MAIL PART BEGINS*/ //error_reporting(E_ALL); error_reporting(E_STRICT); date_default_timezone_set('America/Toronto'); require_once('class.phpmailer.php'); //include("class.smtp.php"); // optional, gets called from within class.phpmailer.php … | |
Hi, i want to make a program that lets the user input as many numbers as they like and terminates when the user enters "EXIT" and prints the largest & smallest input, heres my code: [CODE]#include<stdio.h> #include<string.h> #include <stdlib.h> int main (){ int input; int min,max,a=0; char exit[] = "EXIT"; … | |
Hi guys im making a cms site and very close to finishing it but i get this one warning which is [B]Warning: mysql_real_escape_string() expects parameter 1 to be string, array given in C:\wamp\www\cms\_class\cms_class.php on line 117[/B] i dont know how to solve it! It happens when I try to update … | |
Hi I need to represent data from my mysql table into a graphical format. I summed all the columns I needed then I need to represent the addition of each individual column onto a graph, but I want to print the correct data onto my screen first then represent the … | |
hi guy i already found a dimilar post for this but the code there didnt quite work. baisicly i am making a 2d game and i need to offset sprites. below is all the code i have for this sprite. obv thers more code but i think this is all … | |
I'm trying to take a text file with 20x15 numbers(or characters, doesn't matter) into a 2d array. I just can't seem to get it to work. Can you help me fix it? Thanks [CODE]FileInputStream fis = new FileInputStream("MapFile.txt"); while (fis.available() > 0) { for (int x = 0; x < … | |
hey Dear members i want to learn asp.net but i am little confuse which is best for beginner any easy is it VB or C# | |
hey everyone in daniweb. i have a problem here. let say i have 2 arrays one is a and second is b. how do i compare each of them and insert to new array c? i do it like this [CODE] Dim a As String = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" Dim i As … | |
I am creating a library database application. I created a custom Book class to hold data from the database. My library class lets me access the data and some methods return Book objects. The problem is when I need to return more then one Book. I want the method to … | |
Hello people in daniweb.... i was stucked in doing my project here.. i nid to create a program that assigns a student to the available section. So.. i want to populate my data in datagridview using mySql as database.. while populating these data.. the datagridview should create a new checkbox … | |
hi i use below code for video convert in flv. code work perfectly but when the out put comes file become 0kb. $srcFile = "upload_v/veer.avi"; $destFile = "upload_v/veer.flv"; $ffmpegPath = "/usr/bin/ffmpeg"; $flvtool2Path = "/usr/bin/flvtool2"; $ffmpegObj = new ffmpeg_movie($srcFile); $srcWidth = makeMultipleTwo($ffmpegObj->getFrameWidth()); $srcHeight = makeMultipleTwo($ffmpegObj->getFrameHeight()); $srcFPS = $ffmpegObj->getFrameRate(); $srcAB = intval($ffmpegObj->getAudioBitRate()/1000); … | |
Hey guys, I really need your help on this, because I'm either being really dizzy or I just can't figure out why my code isn't working at all. I've wasted around 4 hours trying to turn around this problem so far and I just can't. here is the part of … | |
Hi, In my project there is a need to take screenshot and save it to word file automatically. Existing System: [LIST] [*]Open the website where log in exists for different resources. [*]Login for every resource and take a screen shot of their page and paste it to word file. Save … | |
Hello all, I am trying to make a program that essentially takes a string of parenthesis and outputs whether or not its balanced. Basically, every '(' will push the index of that location of the string on to the stack, while a ')' will pop it off if it's not … | |
Interface: [CODE]import java.awt.Rectangle; public interface Doubler { public void makeDouble(Rectangle newRectangle); }[/CODE] [CODE]import java.awt.Rectangle; public class RectangleDoubler implements Doubler { private double x, y, width, height; RectangleDoubler() { x = 0.0; y = 0.0; width = 0.0; height = 0.0; }//end of default constructor public void makeDouble(Rectangle newRectangle) { x … | |
I have a problem w/ the Below code, that when I view the table, it repeats the Headers for each row. : For instance: [CODE] comed_zone chicagogen_hub chicago_hub nillinois_hub 10 30.8 30.4 30.8 30.6 comed_zone chicagogen_hub chicago_hub nillinois_hub 11 29.0 28.2 29.2 28.8 comed_zone chicagogen_hub chicago_hub nillinois_hub 12 28.2 27.5 … | |
Hi all , i configured my jdbc drivers and url in Xml but it shows null value my servlet code [CODE]public void init(ServletConfig config) throws ServletException { // TODO Auto-generated method stub super.init(config); System.out.println(config.getInitParameter("dbUrl")); System.out.println(config.getInitParameter("dbUserName")); System.out.println(config.getInitParameter("jdbcDriver"));} [/CODE] [CODE] <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" id="WebApp_ID" version="3.0"> <display-name>CMS</display-name> … | |
I am having a looped form in my site, but i have a problem on saving it. I don't know where is my mistake. Please someone help me. i have 5 records. in my code it saves only one record. and its not giving the correct value. it shows "Array" … | |
Hello all, I'm a PHP newbie and have my apache Server and PHP in place. I have been able to run simple programs that work well. However, since then when I do "http ://localhost/filename.php" I either get 2 messages. 1. An error message if there's an error in my code … | |
Hello friends is there any keylogger scripts thats I putt into my home page when user visit it it make a log file of users key storks and send it in the mail or upload in the script form | |
Hi friends, This is my first post in this Site. I want to create a file from One device data .In that device connects via USB Cable One end.Please Help me. How can i achieve this? | |
There are two classes, ImageBase, and template <T> Image in a library I'm using. I want to store many of these images in a container, and then pass them to a function templates that expect an Image<T>. The only thing I knew to do was store ImageBase* in the container: … | |
Hi everyone, I am trying to find a way to highlight the active button appearance on my winform.Here I have a simple Text Editor with a richTextBox and a btnBold button located at ToolStrip which can change the font Style to be bold or not.Now I want to change the … | |
Hello everybody and thank you in advance for any suggestions and help I hope to receive. I have Mysql experience but now I am working on my first M$sql database project, and I am getting frustrated. I am using php and would like to export a query. It is quite … | |
please help me. i dont understand this: Create routine to display * based on AL w CR AL=07 CALL 120 & RET output: ***** my professor said cr is call routine, that's all, he didnt tell us what does that mean help me please | |
hi im using the chart to make a graph the graph is generated through user input i was wondering about a couple of things 1. how to change the line thickness for an individual generated line or all of the lines 2. how to change the colour of an individual … | |
When I try to put the JTextArea in a JScrollPane, it a) doesn't display the menu most of the time, and b) doesn't display the scroll bars, even though I've got more text than the size of the JTextArea. Code (it's a VERY simple error console for something else): [CODE]import … | |
(Following up on this discussion : [url]http://www.daniweb.com/software-development/cpp/threads/405285/1732795#post1732795[/url] ) Is it ok to store data in a Visitor class? In the case below, I have a Visitor named PixelWisePatchPairVisitor that internally needs to itself use a visitor. At some point the Image to visit needs to come into the picture. In … | |
Hi I have a small problem with with my bubble sort. Everything else in my program works fine if I remove my bubble sort. This is the part of code for the bubble sort. [CODE] //bubble sort based on animal breed if (numberofanimals > 1)//making sure there is more than … | |
I have a field in my tables where the guidance counselor would have to type in Notes about the student. For example, Alex is in Grade 1 and he have an offense wherein he pushed his classmate, that note will be saved in the database. And then when he turned … | |
I'm still very new to this but is there a way to control content (text and/or image) using PHP and a specific date? For example I need to add "New Store Hours" to a listing of locations for a client website, however I don't want to have to go back … | |
I am working on a java program that will count a particular letter in a sentence that the user inputs. Below is the code that I have, but I also want the program to output the sentenced that was typed by the users. Any help would be appreciated. import java.util.Scanner; … ![]() | |
Hello, I have what seems to be a very common problem but after doing much research and trying to fix myself, I am unable to resolve the issue. I receive the following error when compiling my win32, directx 9 program: e:\...\game.cpp(228) : fatal error C1004: unexpected end-of-file found I receive … | |
i have a page which list all the products and there are checkbox to do muiltiple deletion. but there is an error on line 62 for the $delete [CODE]<html> <head> <title>delete</title> </head> <body> <? $objConnect = mysql_connect("localhost","root","booo33384") or die(mysql_error()); $objDB = mysql_select_db("db-test"); //$strSQL = "SELECT * FROM products3"; $strSQL = … |
The End.