199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for knrakesh

Hello friends If i want to add multiple images (suppose 10 images) to a database how can any one give me the sujjestion please help me Thank u in advance

Member Avatar for websols
0
109
Member Avatar for GilbertB

Hi all, I have two tables in SQL Server : Rent and Member . And they are in a relationship. Member ID (from Memner table) is in the table of Rent. I would like to know if there is a way that when I view a new Rent in the …

Member Avatar for GilbertB
0
337
Member Avatar for harshm027

Hi I am working with ajax. `<form action="javascript:ajaxpage('files/search2.php', 'columnTwo')" method="POST"> Email :<input type="text" name="email" value=""/> <button>Submit </form>` The problem is search2.php does not work properly. It echo's the statements "The Email ID is :" but is not able to echo the value i.e $email search2.php `<?php $email = $_POST['email']; echo …

Member Avatar for harshm027
0
335
Member Avatar for A0110

hi, i hav a grid view which displays data from my database. i hav added delete buttons to my gridview....i want that,when i press the del button to del a particular row,then that row should become red...and it should remain red even after the page reloads on pressing the del …

Member Avatar for A0110
0
353
Member Avatar for lokmani

Hello My webpage is opening on many urls ex: [http://www.cmpsol.net/acer-support.aspx](http://www.cmpsol.net/acer-support.aspx) and it is also opening on [http://www.cmpsol.net/acer-support.aspx/hp/rss/dell-support.aspx](http://www.cmpsol.net/acer-support.aspx/hp/rss/dell-support.aspx) and many you can after .aspx , it will open. currently i have made a permanent redirect to main url. i want show it as error pages. So how can i fix the …

Member Avatar for G_Waddell
0
163
Member Avatar for blackasninja

Heres the thing. This was one our class test and the image below is the lecturers question that is supposed to be one of his jokes(Binary/base). A large amount of the class answered that it was decimal 10. Every ideas and thought would be appreciated. Heres the image [Click Here](http://imgur.com/OwEKO)

Member Avatar for blackasninja
0
156
Member Avatar for bilal_fazlani

hi, This is a bit complex.. I have 2 nested repeaters.. and 3 datasources(in markup) <asp:SqlDataSource ID=data1 runat=server ConnectionString="<%$connectionstrings:MainServer %>" SelectCommand="select MatrixRiskFactorId,Name,MaxWeight from Matrixriskfactor" ></asp:SqlDataSource> <asp:SqlDataSource ID=data2 runat=server ConnectionString="<%$connectionstrings:MainServer %>" SelectCommand="select * from MatrixQuestion" ></asp:SqlDataSource> <asp:SqlDataSource ID=data3 runat=server ConnectionString="<%$connectionstrings:MainServer %>" SelectCommand = "select MatrixRiskFactorId,Value,text from MatrixRiskFactorScore where MatrixRiskFactorId=2"> <repeater id=rep1 …

Member Avatar for G_Waddell
0
561
Member Avatar for neti1987

hi! I have 2 columns SWT table. but when I insert data (from Mysql query), it appear only in the first column. for make it show in the second, I have to change the size of the column and then the data appear. so right now, after every query, I …

Member Avatar for stultuske
0
243
Member Avatar for mariaceline_21

i just want to ask how to change the height og menu bar in dreamweaver if it is possible

Member Avatar for mariaceline_21
0
101
Member Avatar for code739

>could someone help me out of this code i have a problem the quoted input text could not be print see my codes `function generate_table(){ $query = "select id,branchcode,accountno,accountname,naturalaccount,mname,placeholder,design,elevel from account_codes"; $result = mssql_query($query); $index = 0; while($result_row=mssql_fetch_array($result)){ $index++; echo '<tr> <td><input size="2" type="hidden" value="'.$result_row['id'].'" name="did'.$index.'" id="did'.$index.'" disabled="disabled"/>'; echo '<select …

Member Avatar for broj1
0
214
Member Avatar for Ritesh_4

Hello, anyone can help me with the conversion of single quotes in a string to double quotes? Am new to Ruby programming and still learning around on how to use it properly. I have an example in Delphi, which I want to make compatible with Ruby: function ReplaceSingleQuote(AText: String): String; …

Member Avatar for Ritesh_4
0
141
Member Avatar for AjixPreston

I have a problem... I mean it looks good, but It's erroring up...? while($row = mysql_fetch_array($result)) { $fav = 0; $stop = 0; $id = $row['id']; $title = mysql_escape_string($row['title']); $body = stripcslashes(nl2br(mysql_escape_string($row['body']))); $time = date("n.j.Y", $row['timestamp']); $result1 = mysql_query("SELECT * FROM favoriteposts WHERE ip='".$_SERVER['REMOTE_ADDR']."' ORDER BY blogid DESC") or die(mysql_error()."<br><br>Please …

Member Avatar for scarcella
0
113
Member Avatar for TonyG_cyprus

Hi, Does anyone know if Bing translator is still available, or has it gone the same way as google, and converted to 'paid'? I'm trying to use jquery translate on a website that I'm building, but despite 3 days of searching I cannot find how to get a Bing Appid …

Member Avatar for TonyG_cyprus
0
121
Member Avatar for poojavb

Hello Friends, One help is required.... I have a select query which is based on two criterias.... if the order is in process or if the order is received.... The datagridview will show all the records from the database,,,, I want to disable the rows in datagridview which will be …

Member Avatar for poojavb
0
5K
Member Avatar for mrki

Dear developers... I have problem with code... I cant understand where is mistake... here is my code... [code]using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Data.Sql; using System.Data.SqlClient; namespace Phon_Imenik { public partial class Form1 : Form { public Form1() { …

Member Avatar for Momerath
0
2K
Member Avatar for ash55

Hi I keep getting Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in and dont know how to fix. I have 1 table and need to display two colums awnser here is the code can any one olease point me in the right direction. <?php $result = mysql_query("SELECT …

Member Avatar for jmichae3
0
350
Member Avatar for turpentyne

I can't seem to figure out what I'm missing. After the end user selects one or more classes, they go to a page that runs a foreach statement to determine which discount to use on each class. But it doesn't seem to be adding the resulting total to the array, …

Member Avatar for jmichae3
0
176
Member Avatar for soyabeanmilk

Hi, I have an unusual ship 'game' in which I am supposed to code for some of the ship's movements against a sine wave. Given only the ship speed, wave period and amplitude (no wave length!), in a scenario where the ship and wave are travelling in the same direction, …

Member Avatar for soyabeanmilk
0
114
Member Avatar for Paladine

This a just a basic webform setup of a listbox being populated with data from a database, in this case the Northwind Access database, and then populating textboxes with data related to the item the user selects. [u]1. WebForm [/u] -Create an ASP.NET webform page -Add a [b]listbox server control[/b] …

Member Avatar for HamplusTech
0
2K
Member Avatar for harrispc

I have written my first javascript block which functions correctly in IE, however nothing executes in FF or chrome. have I missed something. Also is there a way to stop IE from prompting to run it? TIA Javascript function getCondition() { if (window.XMLHttpRequest) {// code for ie7+, firefox, chrome, opera, …

Member Avatar for jmichae3
0
170
Member Avatar for abhilam

EXPERIMENT : KSAS1201 SG CLIMAT CHANGE DATA PATH : C:\DSSAT45\Sorghum\ TREATMENT 1 : N.American SGCER045 @ VARIABLE SIMULATED MEASURED -------- ------- -------- Panicle Initiation day (dap) 62 -99 Anthesis day (dap) 115 -99 Physiological maturity day (dap) 160 -99 Yield at harvest maturity (kg [dm]/ha) 8478 -99 Number at maturity …

Member Avatar for snippsat
0
733
Member Avatar for RyMarr475

Hello, I'm pretty new to Java and this is my first GUI project, so try to explain like I am 5. I declare a label normally, then I set an Icon into it like this: x=rand.nextInt(4)+1; if (x==1) { computer.changeInfo("Fox McCloud", 500, 250, 100, 100, 65, 25, 15, 110, 35, …

Member Avatar for NormR1
0
1K
Member Avatar for hughesadam_87

Real quick question. If I have a string 'hi my name is bill' and I want to reduce this to a list of letters, with no whitespaces (eg ['h', 'i', 'm', 'y'] as opposed to ['hi', 'i', ' ' , 'm', 'y', ' ', 'n'...]), is there a really quick …

Member Avatar for snippsat
0
189
Member Avatar for niths

hi all, I have a asp page. In that i am displaying some data in a grid view from database.In grid view i am displaying TicketNo,TicketName and status. Now my problem is that when page loads if the status have a value as 'OPEN' that row should be in red …

Member Avatar for A0110
0
258
Member Avatar for GeekTool

Hello, i am now trying to draw a tree with stars using for loop. I find a code for this but i did not get the logic of the code. Please can anybody explain it to me ? The code is below: public class DrawingTree { public static void main(String[]args) …

Member Avatar for GeekTool
0
2K
Member Avatar for johns1982

PHP, MySQL & ajax with data on default page default page is empty when page first load. how can i show data on default page? i mean when page first load i want to show all data then do the ajax after user select to filter Example is based off …

Member Avatar for johns1982
0
688
Member Avatar for yup790

I have been using XNA recently and discoverd a major difficulty: when designing levels you have to spen ages pre planning exactly where sprites/objects will go. To solve This problem I had an idea for a game engine/level editor that just imports sprites, creates variables for the sprites and has …

Member Avatar for Akill10
0
187
Member Avatar for king03

hi there guys can anyone here provide me with a guide on how to create an enrollment system in cSharp the OOP way? I just want to create it for a school project. Please help me I really need it if someone can provide me one I'd be very thankful …

Member Avatar for Akill10
0
135
Member Avatar for lendyl16

Call Open_conn If BEdt = False Then Rs.Open "Select * from tblpayroll where EmployeeID='" + Trim(txtEmpID.Text) + " '", Cn If Rs.EOF = False Then MsgBox "Duplicate Employee ID", vbInformation, "Duplicate" Else Cn.Execute "Insert into tblpayroll values('" + Trim(txtEmpID.Text) + "', '" _ + Trim(txtfullname.Text) + "','" + Trim(cbogender.Text) + …

Member Avatar for mustaffa hasan
0
166
Member Avatar for vanesh

How to connect datagrid from database using adodb connection. so that the records in the database will display in the datagrid. I have category here that i want to display to datagrid: ID, LName, FName, GLevel. I need a code for that. THANK YOU!

Member Avatar for mustaffa hasan
0
331
Member Avatar for KalebG

ME and a freind of mine have a vB class. We are using the schools outdated microsoft visual basic 2003. We in are spare time are trying to make a "Siezure" program. The point of this program is to simply have the user click a button and the background begin …

Member Avatar for mustaffa hasan
0
2K
Member Avatar for enakta13

I am making a simple GUI program in java. In this program I have made a simple jFrame where there is two separate textField, one for user input number(data type: double) and another for square of the input number as answer. What I want is: * The event action to …

Member Avatar for mKorbel
0
823
Member Avatar for JellybeanFB

"UPDATE P SET Stock = T.Stock FROM prices P INNER JOIN #prices " + "T ON P.Avg = T.Avg AND P.Colour = T.Colour;" + " " + "INSERT INTO prices(Avg, Colour, Stock) SELECT T.Avg, T.Colour, T.Stock FROM #prices T " + "WHERE NOT EXISTS (SELECT 1 FROM prices P WHERE …

Member Avatar for taskman
0
186
Member Avatar for Transcendent

I'm trying to learn python and is looking for sites to learn it from so if you know a site please comment.

Member Avatar for vkaravir
0
225
Member Avatar for Patiodude

I'm very new to C++; can a program be started with anything other than `int main`? And what, exactly, is the purpose of the `main` part, anyway?

Member Avatar for VernonDozier
0
189
Member Avatar for baig772

I am running an application in which i am running an audio when it is clicked on image, while audio is being played and i changed the mode from landscape to portrait or from portrait to landscape and click on image, it plays another audio clip i.e. 2 audios are …

Member Avatar for peter_budo
0
129
Member Avatar for ettypaldos

I would like to alter the example provided [URL="http://www.w3schools.com/php/php_ajax_database.asp"]here [/URL]so that there is a second dropdown input for 'Male/Female'. I know the example itself does not provide a 'Sex' field in the MySQL db, but let's just pretend it does. Furthermore, assume we have a new in out select for …

Member Avatar for johns1982
0
5K
Member Avatar for dyingatmidnight

Hi there, I'm trying to create a button that toggles an sql query. I have a navigation bar with certain elements hidden by the admin, the admin can preview the page and there's a toggle button to hide or show the items that are marked as hidden. $sql = "select …

Member Avatar for dyingatmidnight
0
176
Member Avatar for treyb

The script I have been working on cleans up ftp images from a bunch a cameras and does this everyday. It deletes directories older than 14 days. The issue I am running accross is that even though there is typically 15k images in each directory, it takes WAY to long …

Member Avatar for treyb
0
156
Member Avatar for esedee

hi guys.. am having 10 buttons on my windows form and if at least 3 of the buttons are clicked, an error should be thrown......pls i need ur help...thanks

Member Avatar for esedee
0
156
Member Avatar for Jackk123

#include "stdafx.h" #include <iostream> using namespace std; int main () { int a, b, c; cout << "Å¡"; cin >> a; cout << "ÄŒ"; cin >> b; c = a+ b; cout << "Ć" << c << endl; return 0; } So i tried using characters from my own language …

Member Avatar for Jackk123
0
889
Member Avatar for ironman99

help me with this error pls. you have an eror your sql syntax; check the manual taht corresponds to your mysql server for the right sytax to use near cmd = new MySqlCommand( "UPDATE products SET (prodid = @prodID, prodname = @prodName, unitprice = @unitPrice, qtyonhand = @qtyOnHand) WHERE prodid …

Member Avatar for ironman99
0
109
Member Avatar for jrosh

How do I perform a mouse click event programatically. but the problem is i do not want to perform it on a UIelement. I just want to perform a mouseclik once. Can i do that? thank you in advance.

Member Avatar for taskman
0
208
Member Avatar for sciwizeh

Hello, thought I'd ask before getting too deep into code to make sure I understand this properly. As described in the Gamma et. al. book the Visitor Pattern looks something like this: interface Visitor{ public void visitX(X x); public void visitY(Y y); public void visitZ(Z z); } interface Visited { …

Member Avatar for JamesCherrill
0
1K
Member Avatar for dschuett

I have an application that I wrote that allows users to upload files (pictures or PDFs). I am using IIS 6 and php 5.4. The problem I am having is that it seems like file uploads are getting cached somehow. For example, if I upload the same file over and …

Member Avatar for dschuett
0
132
Member Avatar for anisha.silva

hi i tried running the code below as the server: public static void main(String args[]) { DatagramSocket socket = new DatagramSocket(); //construct a datagram socket and binds it to the available port and the localhos byte[] b = new byte[32]; //creates a variable b of type byte DatagramPacket dgram; dgram …

Member Avatar for anisha.silva
0
250
Member Avatar for trektrak

Hello guys, I tought this is simple at a very 1st place... but I didn't manage to do it .. Anyone of you can give me an idea on how to do this... I've created a web apps that required authentication. and yeah ... oh the user setting section I …

Member Avatar for vibhaJ
0
183
Member Avatar for dyingatmidnight

Hi there, so my site has a public side and an admin side, the admin side which requires a login. The used id is stored in a session variable to limit access to certain features based on the number. In the admin side a user and show or hide pages …

Member Avatar for dyingatmidnight
0
188
Member Avatar for harshm027

Hi, How to pass an array to a form which is above the part where the array is created I have a php script with html in it. The page is divided into blocks using div tags. There is a form in a div tag which is at the top …

Member Avatar for harshm027
0
111
Member Avatar for kunaldinde

i want to show monthly record on one pagein a jtable, when i press next page button the record in jtable shows the secound months record

Member Avatar for stultuske
0
98

The End.