52,566 Archived Topics
Remove Filter ![]() | |
i m searching a record from database. and it contain more than 10lac records. it take lot of time and some times mysql got crashed. how i can reduce searching time..?? does xml will be helpful in this case.? | |
I need to validate three image fields with javascript so the user cant upload anything else expect files with image extensions. A i also need to control the size of the image, for example to restrict user uploading files with greater size than 1MB. Does this thing can be done? … Web Development image javascript | |
I am using Visual Basic 2008. I am trying to create a web page. I can't seem to get the labels, controls, etc. to let me place them where I want them on the page. I found several articles that suggest to make sure document shows in property window then … Web Development asp.net visual-basic | |
how to upload photos used in registration form Web Development asp.net | |
Hi, I have [code] SessionData sdc = new SessionData(); [/code] And all the properties of sdc are stored in a table in sql server. I want to retrieve the properties of the sdc dynamically. And i know [code] sdc. reader1["xmlname"]= [/code] is a wrong way of doing it. So can … | |
hi all, i m new to sharepoint pls help - Any idea about the Sharepoint Databse structure ? I am using SqlServer 2005 with .NET, Sharepoint How to access my database? where is connection file in sharepoint ? Web Development asp.net sharepoint | |
JAVA SCRIPT CODE [CODE] function NumbrOnly() { if(event.KeyCode==45 || event.KeyCode==46 || event.KeyCode==48 || event.KeyCode==49 || event.KeyCode==50 || event.KeyCode==51 || event.KeyCode==52 || event.KeyCode==53 || event.KeyCode==54 || event.KeyCode==55 || event.KeyCode==56 || event.KeyCode==57) { event.retunValue=false; } <asp:TextBox ID="TextBox3" onkeypress="NumberOnly('TextBox3')" runat="server"></asp:TextBox> [/CODE] WHAT IAM MISSIGN AND WHEN I WRITE event. then after 'dot' it … Web Development asp.net | |
Hi All, This is the first time I'm working with FTP functions in PHP. I have to create a link to send a [B].sql[/B] file to another server using its' FTP logins. I used ftp_put() function in the following way [CODE]ftp_put($connection, $file_name_1, $file_name_2, FTP_ASCII);[/CODE] It works perfectly in my [B]localhost[/B]. … Web Development apache file-system php | |
I am asking this as general question first because I am not sure that what I am trying to do is even possible. I am using Dreamweaver 8. I have created a php page that accesses a mySQL database to include information from just one record on a form. Through … Web Development php | |
Hi, I'm fairly new to php and am having a lot of trouble with a simple little select problem. I have tried it about 20 different ways and it just keeps spitting out errors and not working My code is: [code] <?php session_start(); // built in php function to start … | |
Hay, I had a question about a login system that i want to create. I have SQL express 2005 with value's ( business name, passwords e.d. ). This system we use to fill in what we did at the company, and how much time we spend on it. This system … | |
Having a little issue with a from and MYSQL. I created a Job Interview form that takes certain criteria from the interviewer and places that information into a database so you can extract the information later. What my problem is I'm getting no error messages or successful output. It's not … | |
I'm pretty sure this is a simple fix, but I don't see it: [CODE]foreach($rows as $row) { $result .= "<li><a href='"javascript:void(0)" onclick="javascript:chatWith('.$row->username.')">" .htmlspecialchars(getNameFormatOnline($row->name,$row->username,$ueConfig['name_format']))."</a></li>\n"; }[/CODE] This is a list of online users; putting the username inside "javascript:chatWith('USERNAME_HERE')", to initiate a chat. Thanks, James Web Development php | |
Hey guys, I have a drop-down box which lists manufacturers of computer products. I want it so that when a user clicks "Other" from the drop-down box, a new input field appears below it which asks them to specify an alternative manufacturer. [CODE]<select name="cat" id="cat" onchange="setCategories();"> <option value="components">Components</option> <option value="pcs">Desktop … Web Development javascript | |
I have tried using is_numeric to validate some form data to make sure it is only numbers that are entered into the form. I couldnt get it to work so I decided to try and put a-z\A-Z in preg_match. I cannot get either of them to work although there are … Web Development php | |
hi I am facing problem in connection of sql server in asp.net pages Actually there is error when i importing namespace [B]System.Data.Sqlclient[/B] [B] Error is:[/B] The type or namespace name 'sqlclient' does not exist in the namespace 'System.Data' (are you missing an assembly reference?) now i don't idea that what … | |
I am working on a site that require a php script running on a server without any request, it is a bot script that keeps (not full time but at least once a day) checking client accounts and send mail to clients when something happens. Web Development client-server php ![]() | |
Hello all, I'm hoping to get at least a pointer in the right direction here. Long story short, I've got a DB that I'm displaying information from. I'm doing so using a GridView under a TabContainer / UpdatePanel. Everything works fine, except one weird point - if you click on … Web Development javascript | |
i am making a program in a JSP. i have used some java script code in this program. by this program i can find out the result for between years for any class. i have three combo box for class_name, from_year, to_year. for class_name, Its value is 1 to 12. … Web Development data-science java-jsp javascript | |
Hello, I am currently working on a project for my degree using asp.net, C# and Sql. The problem I am having is with my connection.cs file that I have created, the code I have is as follows: [CODE] using System; using System.Configuration; using System.Linq; using System.Data.Linq; using System.Xml; using School.SchoolCore.Core.Domain; … Web Development asp.net visual-studio xml | |
Hi, I am currently helping to create a script for a restaurant's online delivery service. The restaurant has a minimum order of £10 and i want to incorporate this into the script e.g. a customer's order comes up at £8 and clicks submit, a message box displays "Minimum order is … Web Development javascript | |
Hi all I'm trying to figure out how to go about finding all <a> tags in a string and replacing the spaces within the <a> tag with underscores. Below is an example: Before [CODE=html]<a href="path/to/page" class="pageLink">Page Name</a>[/CODE] After [CODE=html]<a_href="path/to/page"_class="pageLink">Page_Name</a>[/CODE] Any help would be much appreciated. Thanks. Web Development php | |
[code=java]package jee5study.exercise.disboard.servlet; import java.io.*; import java.net.*; import java.util.*; import javax.servlet.*; public class Board implements servlet { private String SvName; private Date Started; public void init(ServletConfig config) { SvName = config.getServletName(); Started = new Date( (java.lang.System.currentTimeMillis())); System.out.println("Servlet: " + SvName); System.out.println(" Started: " + Started.toString()); } public void destroy() { Date … Web Development java-jsp | |
hallo there... is there a way to handle data from a POST method like [CODE]$listOfItems=$_POST['listOfItems'];[/CODE] on the variable though are inserted values of an array such as( 1234|john;3455|helen;.....e.t.c.) is there a way to "brake" the variable so as to get one by one the array values... thank you Web Development first-post php | |
I'm trying to validate my xhtml page using the w3c validator, but there is 1 error: Line 103, Column 15: there is no attribute "name" <form name="checkForm" action="http://tl28serv.uws.edu.au/twainfo/form.asp" … You have used the attribute named above in your document, but the document type you are using does not support that … Web Development flash javascript | |
Hy everyone, I got a problem with doin a sum of a column where are only "int" datas, I get those data from Sql Db with a Sql Data Source and use that sds with a nested gridview. I tried with select sum() but it for each employer i get … | |
Hi guys, I'm a bit of a newbie to PHP/MySQL, so please excuse me if I seem ignorant of something seemingly obvious. I'm writing a booking system for a holiday home rental company. I'm building it up slowly. What I have so far is trying to calculate the number of … ![]() | |
Hi friends I am new for the ruby language.I need to convert the yml file into csv file format by using ruby. I am using the Ruby mine2.0.1 and got the conversion script from this link: [URL="http://github.com/tokland/yaml2csv/blob/master/yaml2csv_conv.rb"]http://github.com/tokland/yaml2csv/blob/master/yaml2csv_conv.rb[/URL] i had implemented the script in ruby mine 2.0.1 but is not wotking. … | |
Hi Guys I'm New to web development. i need one help. I'm having list box on my form, in form load event i will bind the list box with database value. user should be able to select only 5 items from the list box and also i want to validate … Web Development asp.net | |
Hy again! =) Here's my problem. My AJAX doesn't want to work, and Firebug gives me this error message: "uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIXMLHttpRequest.setRequestHeader]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: [url]http://localhost/mysite/js/functions.js[/url] :: callSaveFile :: line 273" data: no]". So as u see I'm using … Web Development first-post javascript | |
Hey guys, I am new to C# and know very little about ASP.net and classes in general. All that to say I got a project file for Visual Studio 2008 that is a C# web form that is suppose to allow you to enter address info: Street, City, State and … Web Development asp.net assembly visual-studio | |
i have a column in mysql called origin which is type integer(not ascending or descending). All rows have an origin assigned to them can't be duplicated... e.g. two rows with the same origin(integer). when inserting a new row. Just say row 1 has origin 15 and i'm inserting a new … Web Development php | |
Hello, I have been searching for a solution on how to solve this problem for almost a month now. I'm at a point where I feel like I've traveled around the world 7 times and still haven't found the answer. I hate introductions so I'm just going to go ahead … Web Development javascript mysql php | |
Hi! I have a counter that increments by 1 for every page view. [CODE]$colname_Recordset1 = "-1"; if (isset($_GET['urlcode'])) { $colname_Recordset1 = $_GET['urlcode']; } mysql_query("UPDATE users SET counter = counter + 1 WHERE urlcode = '$colname_Recordset1'");[/CODE] It works in IE but counts twice in firefox the first time the page is … Web Development php | |
Is it possible by any way to make a .php with all the data into it a .png Example: You got a php that the data displays in the order you want and u want to like screenshot it and post it into the main .php like a fucntion createphptoimg("test.php") | |
hi all, i am trying to create a thubnail image and want to insert in a folder and path into database.. i uploaded image into folder but not able to create thumbnail from it [CODE]string s = @"~\uploads\" + FileUpload1.FileName; FileUpload1.PostedFile.SaveAs(Server.MapPath(s)); SqlConnection cn = new SqlConnection("Server=praveen;Integrated Security=True;User Id=sa;Password=sa;Initial Catalog=banking"); string … | |
Hi, I want to send three text box values to server using jquery ajax. problem is that, i dont know the exact syntax to send three data. When i try sending one data(also change no.of parameters to one at server side method), its going good but when i try to … Web Development javascript javascript-jquery json | |
Greetings! I have a form that's meant to be a rudimentary search engine. The forms calls the piece of code below and outputs successfully the results in a new tab. [CODE]<?php //Includes the db config file $dbconf = include '.../config/dbConfig.php'; //checks if fields are set. if(isset($_POST['submit'])) { if( !empty($_POST['search_string']) ) … | |
Hi all, I am working on a PHP project. Im having a problem giving the 'src' for a image, because the image file is placed outside of the www folder :(. Let me explain more. When I log in to my server using FTP logins, it gives the directory structure … Web Development file-system microsoft-access php | |
how do we use javascript to only allow selection from the list in question 3 to be made IF the user selected at least 1 check box in question 2? below is my code: [CODE] <!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" xml:lang="en" lang="en"> <head> <title> Example … Web Development javascript xml | |
Hi, i need help please! i have a page were users can upload images, the name and path to where the image is stored is stored in the database. I want the aministartor to be able to view all of the images. when i try this it returns the path … Web Development php | |
The group button in my form is set to "unack". The Spring HwController receive the correct group "unack" when the "apply" button is clicked. However, the HwController receive the null group when the cursor is moved to the text box and press the <Enter> key. Only the data from the … Web Development java-jsp | |
Hi, I am a php newbie. The site is a sports site, and contains information on about 10 teams. However each team has it's own admin section. I would like to have 1 general login page that lets a user access the database that relates to their team. I don't … Web Development php | |
I am using Wampserver for my Windows Apache-PHP-MySQL stack. The file accessed has a header that defines it as utf-8, meta tag in HTML also defines it as utf-8. My best guess so far is that it has something to do with Apache. Searching through Google was of little help … | |
Hi there, I am having some issues with getting a variable from an onclick event with javascript. [CODE] $('#preview_logo').append('<img src="'+fileObj.filePath+'" height="100px" hspace="5" /> '+fileObj.name+' uploaded.<a href="javascript:;" id="dele_image" onclick="del_image('+fileObj.filePath+','+fileObj.name+');">Upload Different Image</a><br>');[/CODE] This is for uploadify script for previewing an image that is uploaded, it creates the link fine, but won't trigger … Web Development javascript | |
Hi. I've got 2 classes that provide services and 1 wsdl file for both of them, 1 SoapServer and 1 SoapClient. When I do $server->setClass("Class1"); $server->handle(); I can call functions from Class1 in the SoapClient. But if I do $server->setClass("Class1"); $server->setClass("Class2"); $server->handle(); then I am able only to call the … Web Development client-server php xml | |
how to use javascirpt for client side to transfter the values suppose when i enter 2 in textbox1 then in thextbox2 it should show 4 how is it possible because there is no keypress event is there in asp.net texbox control please help Web Development asp.net | |
hi, i want to programmatically click a link on a asp.net web site. first i ve navigated to that website and i ve got a code from some other website [CODE]For i As Integer = 0 To Me.WebBrowser1.Document.Links.Count - 1 If Me.WebBrowser1.Document.Links(i).InnerHtml.StartsWith("Learn HTML") Then Me.WebBrowser1.Document.Links(i).InvokeMember("Click") End If Next[/CODE] but i … | |
The End.