199,114 Archived Topics
Remove Filter ![]() | |
Hi,I want to use RSS at my site.How to do so the contennent can be displayed at my site?This is the code:I want to use RSS at my site,how to do in dreamweaver? This is the code: Code: <?xml version="1.0" encoding="ISO-8859-1" ?> - <rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"> - <channel> <title>WeakGame Entertainment</title> … | |
I've been coding for about 3hours i can't seem to see whats wrong, all help is much appreciated! :) [CODE] <html> <body> <form method = "get" action = "SLAP2.php"> <center> RANDOM IMAGES<br> <table> <?php $images = array('2010 BMW M6.jpg','2011 BMW 750 Li.jpg','2009 BMW M5.jpg','2010 BMW 650 i.jpg','2010 BMW X6 ActiveHybrid.jpg','2010 … | |
Hello! I am trying to update a MySQL table using a Python code but I am having some problems. I define the connection and the cursor in the Ornithobase (wx.Frame)class in the OnLof function as [CODE]self.db= MySQLdb.connect(host='localhost', user=self.Username , passwd=self.pwd, db='Ornithobase') self.cursor = self.db.cursor()[/CODE] Then, in the same class but … | |
The title explains it. I'm running Ubuntu Linux if it matters. I want to be able to take input and pass it to the terminal (bash shell) | |
[B]I have a Form Code Like this[/B] [CODE]<%@ Page Language="C#" AutoEventWireup="true" CodeFile="SalesDetails.aspx.cs" Inherits="SalesDetails" %> <!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 runat="server"> <title>Untitled Page</title> </head> <body> <form id="form1" runat="server"> <div> <table align="center"> <tr style ="border-width: 1px"> <td> Sales Details </td> </tr> <tr> <td> <asp:Label ID="LblCompanyName" … | |
I have designed a survey with PHP that submits the responses into a MySQL database. The people that will be taking the survey are existing clients which have user IDs and information stored in a database that I do not have direct access to. What I would like to do … | |
I want to run a function just for specific time (say 10 min). After specific time it will return successful if it is able to execute the function successfully or unsuccessful. The function does a large amount of data processing and updating the tables. I want to stop executing that … | |
how to do the adding of objects in array program using an interactive console/gui how to do the deleting of objects in array using an interactive console/gui how to do the updating of objects in array program using an interactive console/gui how to do the displaying of objects in array … | |
i have looked around the forum and on the web but couldnt find anything that seemed to be what i was looking for. or i couldnt follow how they where doing it. What i need is to fill a treeview from a dataset. the dataset has been filled from a … | |
Hi, don't know what's wrong, when i try to dispay an array, nothing is displayed. [CODE] // class.php class Connection{ var $arr=array(); function getData($username){ $q="select comment_id from comments where user='$username'"; $result=$this->conn->query($upit); $n=$result->num_rows; for($i=0; $i<n; $i++){ $this->arr[$I]=$result->fetch_array[MYSQLI_ASSOC]; // I've also tried $this->arr[] (with no index) but the same thing } return … | |
This is about as simple as it gets with menu generators. Everything is explained in the code. Note that the menu is simply an unordered list so to pretty it up it really relies on the CSS. If you don't want to write any CSS of your own here is … | |
Hi everyone, I have written a program which can be performed in two ways...now,i want to compare the times taken by both approaches...can anyone help me how to get it... | |
So I am trying to implement a menu that loops in a CLI simulator, I have the menu implemented but I am stuck figuring out how to make it loop or progress to the next option that requires input from the user. I have used scanner in for the menu, … | |
I was having some confusions about string and NULLs. So, I read this [URL="http://www.daniweb.com/forums/thread77987.html"]thread[/URL] on this very forum. But, I could not understand somethings... Firstly, Is NULL an integer value 0, or something else? Secondly, [CODE]if(strlen(str)==0)[/CODE] this shows that the string is null or it shows that the first character … | |
A small story in the context of the rest of the world is the UK Government's call for the banning of forthcoming computer game, [URL="http://www.medalofhonor.com"]Medal of Honor[/URL]. British Defence Secretary [URL="http://http://www.liamfox.co.uk/text.aspx?id=1"]Liam Fox[/URL] has called for the ban because unlike its predecessors the game is set in Afghanistan, where of course … | |
I am currently having a few issues saving new information to a dataset. I could update the set, but on exiting and reopening the data all updates were gone. I found a few tips online but now get error messages when running the update command. Any help would be greatly … | |
This is giving me an error and im not sure why? [CODE]procedure BeginSort; var I, X: Integer; begin //(1) whole thing Sorted:= false; repeat begin //(2) For I := 1 to 30 do Begin //(3) If Question[I].position > Question[I+1].position then Begin //(4) for if the question position is higher TempQuestionText:= … | |
![]() | I've been kicking around the idea of doing a 3d game in my spare time, but I am struggling when it comes to actually setting up an application from scratch in such a manner that the different aspects of the application are separated into different projects in my IDE. I … |
Hi, all! I was wondering if there is any way to check from the server side whether the client has closed a socket connected to one on my side. client side [CODE]import socket s = socket.create_connection ((host, random_port)) s.close () [/CODE] server side [CODE] ... a = lstn.accept () [/CODE] … | |
Training management system: Hi, I want to build a webpage in a plain HTML, JavaScript, CSS. In this webpage, I want to build a TRAINING MANAGEMENT SYSTEM. Requirements: 1. A form which should take the trainee's unique id and process it. If the entered trainee ID matches with any of … | |
I'm trying to embed the login form for the webmail for a customer portal I'm developing, I've tried copying all the html and putting it inside my .NET page but instead of using the form action that I have in the form tag it simply re-posts the current .aspx page … | |
I need help for connecting my 'Access' database to asp.net website. Coding is in C# . I was working on making a registration page, but since i was unable to connect, I tried a test code for login and it ain't working :icon_cry: I am using the following code for … | |
I am unable to open the page in a new window when i click on the image button CAn u tell me how to make the current page open in new window [CODE] <ItemTemplate> <asp:ImageButton runat="server" ID="ImgPreviewBtn" Height="18px" Width="18px" OnCommand="onSelectAttachment" CommandName="Preview" CommandArgument='<%#Eval("QUOTATION_CODE") +","+ Eval("SUPPLIER") %>' ImageUrl="~/images/preview.gif" CausesValidation="false"></asp:ImageButton> </ItemTemplate> [/CODE] [CODE] … | |
Hi Everyone could anyone help me with the event handling behind a checkbox, which is one of the columns in datagridview. First of all i am adding this checkbox column to dataTable dt, which is the source of DataGridView1. However, i cannot make the checkbox to work, i.e. ifi click … | |
[B]I want to override a method of superclass in subclass the method have same name in both the class. But I want to call the method of superclass with the object of subclass Please Hlep[/B] Please consider the following code class a { void a1() { System.out.println("Hello from a"); } … | |
[CODE]Dim tp As Integer Dim str, flt(), strflt, sflt As String Dim l, l1, l2, l3, i, j, t As Integer 'Title code Private Sub Title_Change() Dim commas As Integer Dim pos As Integer Dim str As String l = Len(Title.Text) If l >= 80 Then MsgBox "Title Exceeded the … | |
Okay so I feel stupid for asking this and I feel like i am overlooking something, but how do retrieve the value of a datagridview cell as an int. I have used this code to change the column to type int [CODE]dataGridView1.Columns[0].CellTemplate.ValueType = typeof(int);[/CODE] I haven't really had a chance … | |
Can any one tell me about a place I can find any joomla help. Tutorials or just guidance. Thank you. Hope this goes with PHP forum since there is no separate Joomla forum. | |
good day! i can't send an email in php. i have this code: <html> <body> <?php mail("jjemphoung@yahoo.com","Testing","Hello","From: [email]flatOne@yahoo.com[/email]"); ?> </body> </html> when i run this the output is Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use … | |
hello! if we sign up at a hotmail account or other account we see before submit our information that we must enter a words and that is for prevent "robots" to sign up with hundreds of accounts. so this characters is an image,so what i want is your help in … | |
me and my buddy got some project for our thesis. our problem is how can we make a Universal Search Page. a search page that can query any table in our database. there will be 3 inputs. 1. Key Search 2. Search Type(it will be a dropdown list that contains … | |
Hello friends, Will you please tell me, [B]how can i display contents of the form on the same page of that form?[/B] Thanks to all! | |
Hi guys I have been attempting to get my software to create new records in my database. For some reason something that should be simple is telling me my syntax is wrong on this line [code] String ex = "INSERT INTO `client_net_score`.`brands` (`id`, `brand`) VALUES (NULL, '"+bra+"');";[/code] so the string … | |
Can anyone explain why this doesn't work? [code] #include <iostream> class Parent { public: virtual int Add(int a, int b) = 0; int Add(int a) { return this->Add(a,a); } }; class Child : public Parent { public: int Add(int a, int b) { return a+b; } }; int main() { … | |
I'm learning C++ from the book C++ Primer Plus. At the end of the chapter on loops, they want us to design a structure, allocate adequate memory for an array of such structures using new, then feed input data to it. I got this code: [CODE]#include <iostream> using namespace std; … ![]() | |
Dear All I have two files having values like this: File1: 10.1103/PhysRevA.10.2325 1 10.1103/PhysRevLett.32.584 2 10.1103/PhysRevB.13.4845 3 File 2: having comma separated values like this: 10.1103/PhysRevA.10.2325,10.1103/PhysRevLett.32.584 10.1103/PhysRevB.13.4845,10.1103/PhysRevLett.32.584 I want the result two be like this: 1 2 3 2 I am using this code but have not be able to … | |
Assuming that we enter the integer value is 5689798. Summing up the digits gives 5+6+8+9+7+9+8+8 = 58 that contains more than one digit, so we repeat the process: 5+8 = 13. we repeat until we got one digit: 1+3 = 4 . The final answer is 4. I don't know … | |
<script> var counter1 = Math.abs(5/160); var output = counter1; alert(output); var counter = output.split('.',1); alert(counter); </script> when i run this code i got the error in firebug.. split is not a function.? | |
good day! im an IT student. im new to php&mysql. my database engine is first myisam. everything works fine. but when i changed it into innodb(for foreign key purposes) i can't insert a data in my the parent table. i can insert data in child table though. replies are really … | |
[CODE] I want to add search functionality to a website. i want to use the following controls: TextBox Dropdownlist1 DropDownlist2 SearchButton (Title) (Book OR DVD) (Category/Genre) I want the items of DropDownList2 change when a specific item is selected in DropDownlist1, and based on that search results are displayed. And … | |
hi friends, I m new to javascript and asp.net . Is anyone knows what is the exact problem? [CODE] // This is asp.net snippet <marquee id="marqueeLeft" class="marqueestyle" direction="up" onmouseout="this.start();" onmouseover="this.stop();" scrolldelay="500" style="height: 99px; width: 100%;" > <asp:PlaceHolder ID="LeftPlaceHolder" runat="server"></asp:PlaceHolder> </marquee> [/CODE] When I moved the pointer to this <marquee> tag. … | |
Hi, I'm trying to make a program that search strings in a file and output them (or others). My problem is, how to output a file line !? Here is my code... [CODE]string str; string str2 = "hate"; int i; ifstream file ("file.txt"); for (int index=1; index<=10; index++) { getline … | |
When you think of Media player, you need beautiful look n feel. I know GIMP can do alot. But Skin in wxPthon? I don't think it is possible. So I thought and thought then I came with this Idea. Create panel with Image as background and then Load wxBitmaps and … | |
hello all i have two drop down list in form and binding it on form load event problem is when i run the application it shows the first value in dropdownlists index no 0 insted of that i want to show blank on run and on click of dropdown it … | |
Hi, I created tables in ms access whereby all the tables have index. In a table, if I delete a record (lets say index number 10) and then write a new record through program, the new record doesn't follow the last running number (where last index is now 9, new … | |
Hello, I got working code of Linked List here. But I having a problem with adding an item. I added four numbers in the Linked List. First, I added 2 then 8 then 4 and the last one 16. The result would be like this: [IMG]http://i168.photobucket.com/albums/u162/SHENGTON/display-1.jpg[/IMG] What I want to … | |
Hey guys. I just signed up and was hoping someone could help me out here. So for this program that's an assignment for my CS 1410 class.There's 2 dices and im suppose to do 1 million rolls. The program is suppose to calculate percentage of how many times the following … | |
helo guys good day... i have a problem in python programming... im new to this langauage.. im having a bit problem on creating a program in python that would determine if the integer is divisible by 3 or not without using a modulus? im glad if you can help me … | |
How would I build a web page similar to an online banking page that has a running account balance, only I want to make each line editable. If a specific line was edited the total would then change up through the top. (transactions are sorted by date order) How do … |
The End.