199,114 Archived Topics
Remove Filter ![]() | |
![]() | I have a database some short notes in a .txt format file and i have created a php webpage that includes a txt file in html format. Now I have to use "Next" and "Preview" links for that .txt format files. Can anyone suggest me the php or JavaScript code … ![]() |
Dears I have Developed a System for UPLOAD PDF files in Database. [INDENT]I Require to rename the file as LA when file is Uploaded in DB.[/INDENT] Here is my Form [CODE]<form enctype="multipart/form-data" action="dS.php" method="POST"> <tr> <td><table width="98%" border="0" cellspacing="0" cellpadding="0" > <span class="style7 style1">Site Id</span><input type="text" name="id" value="" /> <tr> … | |
I am working on a project in which i have to crawl through a number of *.jsp files and index some data from them. These files contain links to other jsps and .wav files. However, these links are of the form $root_dir$/<%=language%>ABC.wav, there language is a variable defined in the … | |
Hello ..i am trying to get the factorial of large integers but i get 0 every time i try,,can anyone tell me why ,,,Thanks in advance . [CODE]#include<stdio.h> #include<conio.h> int factorial(int n); //main main() { int x,fact; printf("Enter a positive interger \n"); scanf("%d",&x); fact=factorial(x); if (fact==-1) printf("the number is not … | |
Hi! Im using a webbrowser control, and i want to read the html source immediately, as it arrives in more parts, dont want to wait until the whole document downloaded. I look for an element with specified id, and when its present in the arrived part of html, invoke click() … | |
Hi, When I have a class that has an object variabel where other types is in. When I send a web-request to the server and gets the variable, it works fine when the data is set to known-types. The problem is when I want to use the data in the … | |
I have seen the mail function preceded with an @ symbol. I have tried it in my code and I cannot see what difference it makes. I have searched Google and the PHP documentation and I have not been able to find an explanation for this @ symbol. Would someone … | |
Hi, I am doing one mobile application. In my Application, i need to generate a report from the database which is on server side in mobile phone. I have no idea about this.So, if any one know, how to do this, please help me. Advance Thanks for your useful replies. … | |
hi all, i had a page where we can upload files.so when i upload pdf,wmv,win files, they are not uploading. but the rest like txt,doc,jpeg are uploading fine. so i need pdf,wmv,win files also upload. so can any one please... here is my upload code. [CODE]<?php ob_start(); @session_start(); require_once ("check.php"); … | |
I have one alias file which is acting as a wraper to XML. <Alias name='Type'> <Xpath>@subType</Xpath> </Alias> generally this return MEConsumed or MEResource. I want the behaviour that if @subType=MEConsumed then it should return CON and when @subType=MEResource then it should return "REF". Help me with this .. i am … | |
hi friends, i have one string field in which i am converting time value and value of that string is "-1:00:00" but i want that in my report it checks that if that field contains negative value than converts it in positive please help me out. | |
hi friends, i am new for asp with ajax... when i use ajax controls in my asp page like ScriptManager || UpdatePanel , there is a error message show,that asp components are not recognized...Then I search in google for get help,They told me set [B]ajaxcontroltoolkit[/B] in my web application... I … | |
Hello. I know that there are many ways to convert date in PHP, but i use those to two convert from/to MySQL DB. | |
hi there, i have a datagridview view in a C# .NET form and when in the run time when i want to select the the combo box i have to click on it for 3 times, y is this. how ca i make it to drop down the items in … | |
hi all, I kinder got bored with software development for a bit and was not until I noticed CS106A(Java based) and the CS106B (C++) which has really re-light my developer bug as such.. was wondering what other courses can people recommend to keep that bug keep on going ? | |
Can anyone help me out in calling a JavaScript function from ASP.Net or if anyone can direct me to a good site/tutorial defining things in detail example (working) code would also be great great benefit :) Thank you | |
I have placed three comboboxes on PHP form. One for Year, one for month, one for year. How do i pick values from these three combos and concatenate them & transfer them to Dateofbirth field in Mysql table. Please give code. | |
Hi All, I want to display local time on the page based on user's selected country. Is there any [B]FREE [/B] API available for getting local time of any country. Input may be whatever, country or longitude and latitude. | |
Hi Guys, Anybody tell or give me the code for show and play video in PHP. Reply as soon as possible..... | |
hi all, i am having some check boxes in my page. so i dont know the number because it is cuming from data base, so i need a javascript validation for this check boxes because he should check atleast one check box. so can any one please... here is my … | |
Hi I get data from a serial port in ascii characters. only numeric characters are allowed and I check for illegal characters with regular expressions. This part works fine and if an illegal character presents itself the regular expression method catches it and display them in variable m. then I … ![]() | |
I am new to Javascript and I don't want to use frameworks. I found a tutorial on how to make this: [CODE]<html> <head> <title></title> <script src="jquery-1.4.2.js" type="text/javascript"> </script> <script type="text/javascript"> $(document).ready(function() { $("div#msgbox").hide(); $("#addComment").click(function (){ $.post('index1.php', { name:$("#name").val(), //PHP recognize it like POST comment:$("#comment").val() //PHP recognize it like POST }, … ![]() | |
The Xml: Micfosoft(TM)'s modified Books.xml: The price attribute of the last book item was modified by me, now it appears two times, once as attribute of book and second time as a separate item inside the book item. [code=xml]<?xml version='1.0'?> <!-- This file represents a fragment of a book store … | |
Hi, I'm trying to iterate through an stl list object list(customer being my struct that holds the name, age and gender variables[customerList being my list]), but I'm getting an error. [code] void store::listCustomers() { vector<customer>::iterator it; for(it = customerList.begin(); it != customerList.end(); it++) { cout << it->name << endl; cout … | |
I am doing a database search using php. Everything works rights except when I just press the enter button (not searching anything) or a match is not found. In those two situations, I want a message displaying no items were found. Currently, when I search for nothing by pressing submit, … | |
Hi, I am creating a forum which has 2 linkbuttons in [I]each gridview row[/I] that shows each posts. One is edit and the other is reply. I intended to have 2 different actions when the button is clicked. The problem is, I can only click either of them once. Subsequent … | |
ive been coding the plain old procedural way in php and i want to move that code to object oriented. can i just simply use my currently written php code into a function and then call it? pleas let me know an easy way to make my normal php code … | |
Hello, I'm in need of color highlighting individual words with in a tooltip. I'm thinking that the standard tooltip in c# can't do that since it looks like it just takes a unicode string. (Is that correct or is there some gucci way of getting around that?) I did some … | |
G'day, Before i start, i have to admit that I'm out of my element when dealing with javascript! I've been developing a site for a travel agency, and opted to use some of the UI elements which can be found in jQuery. The problem is however, that when I move … | |
Hello, I have looked over many examples of how to populate a dropdown with rows like [code=php] $sql="SELECT id, thing FROM table"; $result=sqlsrv_query($conn,$sql) or die("Couldn't execut query"); while ($data=sqlsrv_fetch_array($result, SQLSRV_FETCH_ASSOC)){ $id=$row["id"]; $thing=$row["thing"]; $options.="<option value=\"$id\">".$thing "</option>"; } [/code] But i need to populate this list with tables and will need to … | |
Now I HAve Written The following Programs [CODE] # include <iostream> # include <string> # define MAXSIZE = 300 using namespace std; bool findTitlePrice(string allTitles[300], double allPrices [300],int totalRec,string title,double price); string allTitles[300] = { "Book 1", "Book 2"}; double allPrices[300] = { 78.5, 66. }; int main () { … | |
my leave table: Field | Type | Null | Key empID int(11) NO EMPDETID int(11) NO Leave_ID int(11) NO LEAVEDATE datetime NO FIRSTHALF tinyint(3) unsigned NO SECONDHALF tinyint(3) unsigned NO REQPENDING tinyint(4) YES APPROVED tinyint(4) YES REJECT tinyint(4) YES my lev_definition table: Field Type Null Key LEVID int(11) NO PRI … | |
Labels would not show up in the output window. The red highlighted code is where said labels get added to the window. I can't tell what's wrong with the code and I've looked at it over and over. [CODE]import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.JLabel; import javax.swing.JButton; import java.awt.BorderLayout; import java.awt.GridLayout; … | |
Hello, I am having some trouble figuring out an assignment I was given in class. I am not looking for any code, but need a better explanation that what the teacher has given. Basically the program will calculate the number of days between any two days from 1/1/1900 through 12/31/2099, … | |
So I have a boolean representation and inside that representation contains shapes. All the points of the shape must be true in the boolean array. For some reason its not putting the points on the array. Here is my code, please help me! [CODE] for (int d = 0; d … | |
could somebody tell wats wrong with this #define FOR(x,n)for(typeof(x);x<n;x++) | |
[CODE=c++] class A { int num; public: A() {} A(int _num) : num(_num) {} A operator + (const A & ob) { return (num+ ob.num); } }; int main() { A ob1(1); A ob2(2); A ob3(3); A ob4=ob1+ob2+ob3; } My doubt is in ob1+ob2+ob3 . First ob1+ob2 is evaluated and … | |
I I am trying to make a site checker for my traffic exchange Now i was able to get this to work [CODE] SELECT*FROM vtp_urls where ID=326 [/CODE] and it puled up the right file and everything so I search the web for a way to display the url so … | |
I am making a jump and run game- i want my sprites to collect items that are worth points. I want these items to be randomly generated on my tile map. Does anyone know how i can do this? I am using Visual C++ with SDL | |
Hi all , I'm new here and new in Python for symbian ; I hope I'm asking in the right forum and the right section. What python provides to switch off mobile functions that consumes battery , How turn off BlueTooth , Wifi , GPRS , Vibration and Ringing ?? … | |
Hi everyone, I'm trying to connect to an IRC server and join a channel. When a user joins they will be greeted by my program. I'm not able to debug it because I'm getting an error saying 'Object reference not set to an instance of an object.' Here's my code: … | |
Hey guys, I am having a problem with this program. It's actually part of an example from Michael Dawson's [I]Beginning c++ Game Programming[/I] This program pretty much randomized a number between 1 and 100 and has the user input his/her guess. The user can deduce what the number is each … | |
this is my first time on this board, so hi. :p I'm currently learning basic java in college and I need some help. I have a constructor for my Node class and I've linked 3 string nodes together and I need to print them in order. So far I got … | |
I wish to create a user defined control (which contains a text box and a find button) and place it on a form which has a datagridview. The idea being the user clicks on the column header and inputs search text in the textbox and clicks the find button which … | |
Having trouble with this little DOM PHP task. When i parse it from unix with the command -> php DOMSearch.php "Brookside" it prints out Channel 5 Start : 2001-07-0521:55:00 However, it should print out all channels and start times from the "Brookside" series like below: Channel 4 Start : 2001-07-05T20:00:00 … | |
hi there, how can i delete or clear the values of the datagridview row, when the datagridview row index is known. how can i do this in C#???? thanxxxxxxxx | |
I am new new in OOP stuff.I have read the Herbert Schildt's C++ reference.But it just gave me the idea, about how it work.Not how to make it work. I am read few chapters from "Object-Oriented Programming in C++ by Robert Lafore"(old edition featuring UML 1, i guess).But it was … | |
Do you know that there is clean way of doing what C-language ternary operator ? does in Python's recent versions. It is if with special twist. The syntax is: [CODE]'The value if true' if <condition> else 'Value when false'[/CODE] Values can be any type. You can put this structure to … | |
hi can anyone tell me how to write the output of this code to a file?? [CODE] #include<stdio.h> #define MAX 10 char array[MAX]; void main() { void addvalues(); addvalues(); } //funtiocn that will allowe the user to add the values void addvalues() { printf("------------------------> Insearting List Elements <---------------------------\n"); int i; … | |
Okay so I know this is probably an easy question but I am tired and I want to find a good way to do this. The code below will show what I am getting into (I'll explain more after it) [CODE]string loc = dataGridView1.SelectedRows.ToString(); int loc2 = Convert.ToInt32(loc);[/CODE] Anyway this … |
The End.