199,124 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for qurawe

this is the scenario pls help me: We have been asked to analyze the data requirements and develop a conference management system to keep information about all the conferences and papers presented in the conferences. Conferences are conducted in different parts of the world. Each conference is identified by its …

Member Avatar for smantscheff
0
184
Member Avatar for tubby123

This one comes from file-handling. Say , i have a file of 95,000 lines. I have to analyse only those lines which start with a semi-colon. So my logic would be like, "Read first character of the line, if it IS a semi-colon, process it, otherwise jump to the next …

Member Avatar for Adak
0
95
Member Avatar for pixma

Hi, I will be developing a program using visual studio 2008 with ms access 2007 as my database. What I only use is this type of connection string: [COLOR="Red"]"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\mydatabase.mdb;Jet OLEDB:System Database=system.mdw;" [/COLOR]but i was asked if it is possible to put the database in sharepoint and I haven't even …

Member Avatar for pixma
0
1K
Member Avatar for MagnetoM

I am fairly new to C# and come across functions that I don't know what they do. Is there a database for all the functions in each namespace for C#?

Member Avatar for MagnetoM
0
71
Member Avatar for tibebu.s

hi everyone i need ur help here is the problem i want to insert this values into my table at the same time (Member_ID,Interest_ID,Reference,date,interest_Recived ) at the end of every month then my code is look like this private void Icalculater() { decimal x = Convert.ToDecimal(i_RateComboBox.Text); DateTime t = Convert.ToDateTime(this.fmonthtextBox.Text); …

Member Avatar for tibebu.s
0
207
Member Avatar for atfOnly

Dear all, I need your help :) i have array like this--> $myarray([0]=>a,1 [1]=>b,2 [2]=>a,2 ) i want to split each of the array element, i want to retrieve the part a and b of each array elemet and (maybe) store it in different array like this: $myarray1([0]=>a [1]=>b ) …

Member Avatar for atfOnly
0
137
Member Avatar for Tugnus

So I'm pretty lost in Python. My teacher doesn't explain the commands for Python so I'm really confused on how to write this. I have to write a green screen type program that takes a picture with a green background and replaces it with another picture by looking at the …

Member Avatar for Tech B
0
2K
Member Avatar for jacob21

Hi, I am fetching data from database & using pagination(showing 10 records per page).What i am trying if i want to print records between 20-30,I can print only these records(20-30). or by using search if i get 4 result ,can print only 4 records. Need suggestion

Member Avatar for karthik_ppts
0
1K
Member Avatar for ashiiiish

I am in a great hurry please someone tell me how to populate checkboxes based on the dropdown menu selection if possible please give the code

Member Avatar for ashiiiish
0
72
Member Avatar for naru vaishnaw

here is my code for image upload. after upload successfully i want to go my mainpage.php page . i am using iframe to display upload form. how to go mainpage. please anyone help me for this problem . [CODE] <?php include("connect.php"); $_SESSION['MM_Username'] ; $username=$_SESSION['MM_Username']; if(isset($_POST['submit'])) { //get file attributes $name=$_FILES['myfile']['name']; …

Member Avatar for divyakrishnan
0
110
Member Avatar for divyakrishnan

Hi I want to set focus to a text field on a php page which is loaded by ajax. The javascript file for ajax is shown below [CODE] <script> function menu_change(str) { if (window.XMLHttpRequest) { // code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else { // code …

Member Avatar for divyakrishnan
0
106
Member Avatar for nguyennamphp

can you help me , please i want read a file pdf or word -> swf , use php code . it's look like "http://d3.violet.vn/uploads/previews/598/665006/preview.swf"

Member Avatar for MooGeek
0
86
Member Avatar for Mujahid158

Hello, I'm converting a HTML/PHP website to wordpress. I'm showing real estate listings on the Google Maps. I've been able to sort out all the problem when converting to wordpress but I'm stuck at a point. Here is the code; [CODE] parameters: function() { var result = {}; var url …

Member Avatar for Troy III
0
130
Member Avatar for erum

i have following code [CODE]<div id=date_check visible=true runat=server> <strong>Check-In Date</strong> <%-- <asp:TextBox ID="txt_checkin" runat="server" onchange="checkdate(this);"></asp:TextBox> <a href="javascript:calendar_window=window.open('calendar.aspx?form1=form1.txt_checkin','calendar_window','width=554,height=488');calendar_window.focus()"> <img alt="" src="images/calendar.png" /> </a> --%> <asp:TextBox ID="txt_checkin" runat="server"></asp:TextBox> <ajaxtoolkit:CalendarExtender ID="Calendarextender1" runat="server" OnClientDateSelectionChanged="checkDate" TargetControlID="txt_checkin" Format="dddd, MMMM dd, yyyy"> <%--<input runat=server type="text" id="txt_checkin">--%> <strong>Check-Out Date</strong> <asp:TextBox ID="txt_checkout" runat="server"></asp:TextBox> <ajaxtoolkit:CalendarExtender ID="Calendarextender2" runat="server" OnClientDateSelectionChanged="checkDate" TargetControlID="txt_checkout" Format="dddd, …

Member Avatar for DeadSoul
0
635
Member Avatar for matthewkeating

Hey guys I need a little bit of help. I am writing a program that generates 100 random numbers and then stores then in an arrays (2, even and odd numbers) I need a little help with passing the array into the function and generating random numbers. What am I …

Member Avatar for matthewkeating
0
429
Member Avatar for RazorRamon

Ive used date() before but I do not remember how to store it in mysql. VARCHAR, TEXT, TIMESTAMP?

Member Avatar for IIM
0
101
Member Avatar for nered

[CODE] #include <stdio.h> int main(){ char *names[1024]; float *rates[20]; FILE* file; file = fopen("tecaji.txt","r"); while(!feof(file)){ fscanf(file, "%s", &names); for(int i = 0; i < 20; i++){ fscanf(file, "%f", &rates); } } for(int a = 0; a < 50; a++){ printf("%s", names[a]); } } [/CODE] The file contents look like this: …

Member Avatar for Aia
0
134
Member Avatar for FALL3N

I am writing Python on my mac, and am trying to pipe the output from the Terminal to python.. I think this is achieved with os.popen?

Member Avatar for FALL3N
0
116
Member Avatar for triumphost

Hi guys, I'm currently switching from mechanical engineering to Computer Programming analyst in September so I have a few months to learn how to do this.. What I want to do is make a Bot for a game.. The game is written in Java and I want to load it …

Member Avatar for m4ster_r0shi
0
170
Member Avatar for staticclass

Hi guys, I created an application in C#, which requires [B].Net Framework 4.0[/B] (Not the client profile) I created a Setup project for my application, since it has to be installed on a very big number of computers, some of which may have not access to the internet. Moreover, I …

Member Avatar for staticclass
0
1K
Member Avatar for pxndx

Hello daniweb users, i would like a brief walk through on AJAX if you'll can, i already looked through the post and didn't find what i was looking for, i would like to know how to refresh evertying on a web page but the header, which contains the navigation bar …

Member Avatar for pxndx
0
163
Member Avatar for Hawkwing

If I have a class variable being passed to a function, is there a way that I can get the class that the variable is from? [CODE]class someclass: def __init__(self): self.somevariable='somevalue' def somefunction(self): print('gotta get here') def someotherfunction(somevariable): somevariable.needparentclasshere.somefunction() myclass=someclass() someotherfunction(myclass.somevariable)#this needs to print 'gotta get here'[/CODE]

Member Avatar for woooee
0
162
Member Avatar for Thropian

Ok so I'm trying to get images to resize which I could do with Image.PhotoImage but now I'm using RGBA .png files so I have to use ImageTk.PhotoImage and I can't figure out how to resize them anymore any help on this kind of thing? I'm using python,tkinter

Member Avatar for Thropian
0
14K
Member Avatar for Manske

This program separates palindromes from non-palindromes in a text file. After separating them into separate two dimensional arrays, I have to sort them in ascending order by string length. The last part is to output both the palindromes and non-palindromes in centered, triangle format. I've gone through this program multiple …

Member Avatar for Manske
0
155
Member Avatar for Kirielson

Hello, I'm having trouble running the CalcOpticalFlowPyrLK in Python. When I try doing the calculations for the Lucas Kanade code it will not compute the error I get is the following:[ICODE] File "****", line 63, in callback (currFeatures, status, track_error) = cv.CalcOpticalFlowPyrLK(old_image, new_image, old_pyramid, new_pyramid, old_features, (3,3), 1, (cv.CV_TERMCRIT_ITER, 10, …

0
179
Member Avatar for nocloud

I am experiencing unexpected performance degradation when using vectors with classes. I have a csv_File class that reads in a csv file and stores the contents in a 2D vector. There's a member function that allows access, e.g. [CODE] csv_File file("file.csv"); file.access(2,2);[/CODE] To access the 2,2 element. Then, I have …

Member Avatar for mike_2000_17
0
202
Member Avatar for jamojo

Hello Everyone, I created a javascript function to show/hide element id. In the code, the detail row will be show when its header row is clicked and the detail row will be hiiden after the hyperlink is clicked. Can you give any advice on how to show/hide the detail row …

Member Avatar for Airshow
0
2K
Member Avatar for nonshatter

I have a foreach loop, within which I would like to create x number of unique variables. E.g. Upon each iteration I'd like to create a new variable like: $strDisk1 = ... $strDisk2 = ... $strDisk3 = ... I have tried the following but this does not work: [CODE] <?php …

Member Avatar for cjohnweb
0
7K
Member Avatar for cjohnweb

Hello! I've come across a little problem with Regex, I was hoping someone might see the problem off hand. Here is some sample content I am searching through, It's the gameshark codes for PEC: [code] #Ace Combat 3 Electrosphere#SLPS-02021#SLPS-02020 §N Joker Command D00BF32E ???? "Infinite Time for battle D0054332 2442 …

Member Avatar for cjohnweb
0
119
Member Avatar for stranger_on_way

I want to insert wp-survey-and-quiz-tool code in wordpress page using href tag, so that the quiz only comes up only when link is clicked. But the problem is whenever i use this shortcode, it automatically starts the quiz.Please provide the possible solutions. [CODE]<a href='[wpsqt_quiz name=Memory]'>Memory Allocation</a>[/CODE]

Member Avatar for ko ko
0
161
Member Avatar for naru vaishnaw

how to set avatar to my profile page .anyone help me for set my avatar image path in my profile page. [CODE] <?php require 'connect.php'; $userg = mysql_query("SELECT avatar FROM members") or die("Failed to fetch your details."); if (isset($_SESSION['MM_Username'])) { echo "Welcome ".$_SESSION['MM_Username']; echo "<img src=".mysql_result($userg,0,"avatar" )." width=200 height=200>"; } …

Member Avatar for ko ko
0
161
Member Avatar for Majestics

[code] import java.awt.event.ItemEvent; import java.awt.event.ItemListener; import javax.swing.DefaultCellEditor; import javax.swing.JComboBox; import javax.swing.JFrame; import javax.swing.JScrollPane; import javax.swing.JTable; import javax.swing.table.DefaultTableModel; public class main implements ItemListener { String[] a = {"one","two","three"}; String[] b = {"4","5","6"}; String[] c = {"7","8","9"}; String[] d = {"10","11","12"}; String[] e = {"13","14","15"}; JComboBox a1 = new JComboBox(a); JComboBox b1 …

Member Avatar for Majestics
0
234
Member Avatar for fantasma

Greetings I have this page, which will have a slider gallery based on the EasySlider plugin [URL="http://fantasma98.byethost12.com/restaurante/galeria.php"]http://fantasma98.byethost12.com/restaurante/galeria.php[/URL] The problem I'm having is that, I don't know how to display a title and a description of the given image (been trying for hours to move positioned divs to display it). I …

Member Avatar for GouseKSyed
0
357
Member Avatar for dgreene1210

-The program should print "COP 2220-50184 Project 3: <your name>" with a blank line before and after. -Then it should prompt the user for the input file name of the file containing the data to sort. - If the program can't open the file or if no file name is …

Member Avatar for TrustyTony
0
267
Member Avatar for geekme

I have just finished my php basics from "complete reference" but it also has a section of Ajax.I want to know what is the relevance of ajax in php web pages.Also I want to know where can I learn advanced php from so as to build dynamic web applications?

Member Avatar for diafol
0
78
Member Avatar for btowne2

Hey yall. Trying to teach myself C++ using the book "Programming and Problem Solving With C++" (5th ed.) by: Nell Dale and Chip Weems... and it's no cake walk. I have a new found respect for programmers and programming in general. Anyway, if any of yall can help me figure …

Member Avatar for Lerner
0
192
Member Avatar for adige72

Below code is what i found from a search in daniweb forum. ([URL="http://www.daniweb.com/web-development/php/threads/253997"]Link[/URL]) Suppose i have a taxonomy called [B]Color[/B] and terms are [B]Blue[/B], [B]Green[/B], [B]Red[/B], [B]Yellow[/B], [B]White[/B]. I want when i select Blue, Green and Red and click submit button, i want to get ALL posts those have Blue …

Member Avatar for ko ko
0
1K
Member Avatar for muralibobby2015

hello... i want ot select multiple vakues from dropdown and insert into database. but it is not working. any one plz help. and one thing when ever i retrive values from database selected values come in top of the dropdown and remaing values are come in bottom of the dropdown. …

Member Avatar for diafol
0
1K
Member Avatar for MooGeek

Uhh... well I'm not really expert into SQL Injections Prevention so I had an Idea of putting the Admin accounts in a PHP file... for example [CODE="PHP"] <?php $_ADMIN[1244]["username"] = "root"; $_ADMIN[1244]["password"] = "345dfgAFKgfmsdfS"; ?> [/CODE] I think that in doing this it will prevent Hacking of Admin accounts... what …

Member Avatar for diafol
0
137
Member Avatar for johnbo100

Hi All, I have a page with a PHP insert form that posts relevant info to the SQL database. At the same time the key value "reg_id" is auto incremented by the DB. How do I get new auto incremented value that has been posted so that I can use …

Member Avatar for johnbo100
0
206
Member Avatar for dyingatmidnight

Hello all, I'm trying to modify some code but I'm having some difficulty - probably because I don't really understand the function in the first place. Its one my supervisor found online that seemed to work fine for the purposes of our test code. However; after some poking around its …

Member Avatar for m4ster_r0shi
0
1K
Member Avatar for Yemen Coder

hi everyone l see this code in user script and i don't know why he use this ~ symbol the code is [CODE]if( ~$user->premission & USER::create_Forum){ ................... }[/CODE] is this symbol for negative or what i still wait any idea about it

Member Avatar for ko ko
0
149
Member Avatar for amras123

[CODE]<!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> <script type="text/javascript"> function Logout(){ document.location.href="index.php" } </script> <?php $host="localhost"; // Host name $username="root"; // Mysql username $password=""; // Mysql password $db_name="*******"; // Database name $tbl_name="*******"; // Table name // Connect …

Member Avatar for ko ko
0
177
Member Avatar for extemer

hello guys i want a drop down menu for the month,year and days in case of DATE OF BIRTH. I HAVE done this thing with jquery datepicker but i want a dropdown menu for it..please help me here is my code i want to use drop down menu but figuring …

Member Avatar for stbuchok
0
77
Member Avatar for sherinpoulose

suppose there is a datatable (in asp.net,not sql database table) with 3 columns col1 col2 col3 high cool no high normal no low cool yes low normal no high dry yes low dry yes column values are like these. col3 name is already known. suppose col1 is selected now.then how …

Member Avatar for sherinpoulose
0
76
Member Avatar for niths

Hello, I have a page where i can upload images. Now i need to copy the uploaded images to a third party server. I have the details of that page. so can anyone help me. Thank You.

Member Avatar for diafol
0
115
Member Avatar for gogs85

I have in sql database in table price ,path who leads to images on a Web Server, hava i show image in web page with sql query ?

Member Avatar for gogs85
0
103
Member Avatar for Lost in Code...

Greetings, I'm having a problem with this code below. I want to ask 3 questions and then gather userinput into char variables. When I run the program it asks the first question and then outputs the answer. Then it asks the second question, but does not allow the user to …

Member Avatar for bajishareef
0
6K
Member Avatar for pantera989

Hi, I need help with PHP/javascript/mysql I am fairly new to this so excuse me for my bad programming skills. I have PHP page which has to update mysql table and HTML table onclick. It updates HTML table ok but as soon as I refresh page it updates all data …

Member Avatar for vibhaJ
0
1K
Member Avatar for naveedqadri

I have a website in asp.net developed by some one else, i have made some improvements and now facing problem while uploaded [ [url]www.ict-m.com][/url] this site is running well on localhost. scenario : all files has path starts with /ictm/../../*.aspx 1: i created a folder on root directory with name …

0
153

The End.