64,152 Solved Topics
Remove Filter ![]() | |
Hey guys - I'm working on a new website template. It works great, except for a little bug with the Contact panel. It should slide into the screen from the right side into the center, but fails to do so. I believe it is because of the CSS property "display" … | |
Hi, [COLOR="Red"]Page 1[/COLOR] [CODE] <td width="68"><a href="directory_update.php?updateid=<?php echo $row_Directory['Sno']; ?>"><img src="images/btns/delete.png" width="36" height="36" border="0" /></a></td>[/CODE] [COLOR="red"]Page 2[/COLOR] [CODE]mysql_select_db($database_Connection, $Connection); $query_Directory_update = "update directory set Sno=<?php $Directory_update['Sno']; ?>where Sno='$_GET[updateid]'"; $Directory_update = mysql_query($query_Directory_update, $Connection) or die(mysql_error()); $row_Directory_update = mysql_fetch_assoc($Directory_update); $totalRows_Directory_update = mysql_num_rows($Directory_update);[/CODE] [COLOR="red"]Error[/COLOR] [COLOR="Green"]Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or … | |
Hi everyone... I am developing this student management system which has one form that saves student data( including student image). Now w.r.t saving student image I want that the user should insert image from the folder where he has saved student images. On the save button the image path of … | |
I have developed a python code that is comprised of several functions, I want the output from the last function to be an input in the first function and the program should stop when a certain criterion is met! for example: [CODE] [[COLOR="Red"]def[/COLOR] f1(something1): Block of statements [COLOR="Red"] return[/COLOR] something … | |
hi guys, i have this page, add_row.html, this page dynamically adds another row of inputs as per the user requirements.. [CODE] <HTML> <HEAD> <TITLE> Add/Remove dynamic rows in HTML table </TITLE> <SCRIPT language="javascript"> function addRow(tableID) { var table = document.getElementById(tableID); var rowCount = table.rows.length; var row = table.insertRow(rowCount); var cell1 … | |
I am trying to finish a project and have hit a snag and since I got helpful advice in this forum before I thought I give it another try. I am trying to make an html page that collects personal data and sends it to a php file that should … | |
Hey guys I'm really stuck in this very urgently needed solution, been working for 3 weeks plus and still can't come up with a working solution! Help needed asap. [U]ISSUE:[/U] The problem is simple. I have 2 PCs. One is 'master', second is 'slave'. On 'master', I have my .NET … | |
guys, this code below will dynamically add new rows to the page once the link is clicked..now, my problem is that how can i get the value of the inputted rows.. [CODE] <SCRIPT language="javascript"> function addRow(tableID) { var table = document.getElementById(tableID); var rowCount = table.rows.length; var row = table.insertRow(rowCount); var … | |
Hello, I’ve just about scrambled my brain on this, searching and trying things, so I’m hoping someone sees something that I’m missing or can explain it to me. I’m new to .NET, used to do a lot of programming in VB but that was many years ago. I mainly lurk, … | |
I am trying to run this program in python 2.7. But get an error Traceback (most recent call last): File "C:/Python27/Rpg1.py", line 95, in <module> p = Player() File "C:/Python27/Rpg1.py", line 25, in __init__ Character.__init__(self) AttributeError: class Character has no attribute '__init__' When run this pragram can someone help me … | |
sequence is a string, and gene is the the word that i gotta find.. im new to python.. and so far i got this: the list always ends with a -1 at the very end...how do i get rid of that.. [CODE]def find_genes(gene,sequence): list= [] count = sequence.count(gene) find = … | |
Hi All, Im trying to Insert a new row into a database and refresh the dataset. This is what I have so far: [CODE]void ButtonInsert(object s, EventArgs e) { string connectionString = null; OleDbConnection connection; OleDbCommand cmd = new OleDbCommand(); string sql = null; connectionString = @"Provider=Microsoft.Jet.OLEDB.4.0;data source=Book.mdb"; connection = … | |
What does the substring function do? The answer i found online doesn't seem to be accurate. I thought that it reads the (#) index and everything after, but I guess that is wrong. The other functions that look wierd are already part of a class, i am just confused on … | |
Hi there I am building a 3D game in C++ and openGl I came to do a full test of my game the collision detection and things are finally approaching working fully. When I run it it becomes very memory hungry and eats a few Gb of Ram and crashes … | |
I'm creating my first FPS game, in MS Visual C++ 2008 Express Edition with Dark GDK. I've created a level and so on, and now I'm updating my enemies. My ninja enemies have different .x files for different states, example: one for idle and one for attack. I can't manage … | |
I'm have a script that outputs files and folders w/ folders as a header and the files listed below. I'd like to sort them alphabetically, but can't seem to figure it out. I think I need to get them into an array. Or use scandir. Here's the code: [CODE]function getDirectory( … | |
hi guys i am new to java and i barly learning i got some slides that teachs java from the start i started good at declaring values like ingers, strings, etc.. and made simple programs that counts sum of two numbers and the avarge and now i am stuck at … | |
Hello! I am new to programming and c# and im trying to create a application that will guide you through a school with pictures. So you would be able to press forward, backward, left and right and it will lead you to a new picture. What I dont understand is … | |
Hey, I was just wondering whether it is possible to do multiple tasks in a console application at the same time. Like lets say if a program reads user's input and displays output at the same time, can the program carry on displaying output while it waits for user's input … | |
Hello, Why break function doesn't work at that code ?: [CODE]double Number = 0, counter = 0; // declare here. for (int i = 1; i <= 10; i++) { //Entering ten numbers Console.Write("Enter the number:"); Number += double.Parse(Console.ReadLine()); //keep incrementing number /*If user write number 0 in console before … | |
Hello, I'm doing a full traversal of a binary search tree structure looking for a node by a field that is not the sort key. If the node i'm looking for is the root node, no problem. If it's any other node then the function has a Seg Fault. Anyone … | |
I need to make inspection of my code to Optimise it. Which profiler do you use and recommend? I use CodeLite IDE with GCC Compile (MinGW on windows) and wxWidgets for all GUI stuffs Thanks | |
Hi, I know this is not PHP issue but we here writes a lot of database SQL querries so I hope for a help. I have a bible script that is supposed to query the scriptures between two intervals. My table is named Bible and have columns: ID (int), Book … | |
I use Visual Basic 2008 I had this code in Visual Basic 6.0 that the replace the ASCII value of [COLOR="Red"]decimal point [/COLOR]for the ASCII value for a [COLOR="red"]comma[/COLOR][CODE] Private Sub Text1_KeyPress(KeyAscii As Integer) If KeyAscii = 46 Then KeyAscii =44 End Sub [/CODE] But this does not work Visual … | |
well,I got some fundamental programming knowledge in C# and some Visual Basic. Inheritance,Arrays,Loops,DataBases,and create library files in VB.NET,create classes in VB.NET and ,create properties and methods and some other things. currently I follow Ivor Horton's Visual Studio 2010 and I feel it may take years to study the whole 1000pages< … | |
create pseudocode program that will be used in a medical office or billing department. The client needs to be able to access a database that contains all of the patient’s information as well as their medical records and billing information. The following features must be included in the final design. … | |
My whole program works completely fine ~400 lines of code including comments, but I have this at the bottom of my code. This is the last bit of code in my java program... Is this okay to have, if not what should I do instead. [CODE] private static void End() … | |
I'm trying to create a page to send emails to contacts in my database. I started by embedding an array in the page and then used a text file, both were successful and now I'm trying to take the information from a database. [CODE]$setEmailArray = array ("email@domain.co.uk", "email@domain.com"); for($i = … | |
could you help me to make a basic css which is applicable for the autocomplete in php? tnx..^^ ![]() | |
Hi I'm tryng to make two boxes on my page always the same hight, no matter how much text is inside one of them. So the boxes will always be the hight of the box with the most text. you can see what I meen here: [url]http://wearecrunch.dk/test-globeaid/[/url] I would wan't … | |
Hello, dear Programmers! Prompt - how to get the coordinates (of picture box) of the point which was clicked (by mouse))? Thank you for your answer) | |
i have a major error whenever i run my code... im using visual studio c++ 2010 express. here's the code: [CODE]# include <allegro.h> # include <iostream> # include <cmath> #define down 0 #define left 32 #define right 64 #define up 96 int main(){ allegro_init(); install_keyboard(); install_mouse(); set_gfx_mode(GFX_AUTODETECT_WINDOWED, 640, 480, 0, … | |
I have a simple ASP.NET page where after the initial page load the user enters a username and a password to two text boxes. Note that I can not use the built-in login control in ASP.NET, as my purpose of using this username and password is slightly different. Now, I … | |
how to copy data from one system to another in solaris.. i have tried rcp,scp commands but some times its not working.... tell me if there are any other commands other than rcp and scp . | |
OK, i have this Backup module for my system's database. Now i would like to have a module of restoring and deleting backups of it. Here's some info: The backup files created are stored in a Folder named "Backup" My database has 2 Columns having OLE type objects, Pictures and … | |
Hello all... I'm trying to populate a Flexgrid using an SQL query that involves values external to the database being queried. The database contains latitudes and longitudes of points of interest on Earth. Ie. Point A, -43.5644,-79.5432 Point B, -89.5433, 76.3343 Point C, 54.6433 , 65.4432 What I want to … | |
Im trying to do employee database using vb6.0, problem is that, is it possible that after clicking a command button this will call a PDF file... the Scenario is this: [command button] """""""""""""""""""""" "VIEW JOB DESCRIPTION" """""""""""""""""""""" [after pressing this will call/fetch the specific job description of the employee and … | |
Let P1 and P2 are two polynominals.. where p1 = 1 + 4X^2 + x^4 and p2 = 2x^2 + x^4 program is to multiply p1 with p2 p3 = p1 * p2 Like line 1: ( 1 + 4x^2 + x^4) (2x^2 + x^4) line 2: 1*(2x^2 + x^4) … | |
Hello all, I've been a part of this community for a while now but after making the mistake of permanently losing access to my email, I've had to change my username :P Anyways, I'm looking to throw my hat back into the programming ring. I have the basic knowledge of … | |
I want to know the procedure by which we can calculate time complexity of a C program. and how would we compare two algorithms. here are two sorting programs. how to compare both. [CODE] for(i = 0; i < n - 1; i++) for(j = i + 1; j < … | |
[url]http://img195.imageshack.us/img195/6971/treeqg.jpg[/url] This is my tree.. one on the top is before and one on the bottom is after the change has been made.. did I do this correctly? Thank you in advance! | |
SO, I have been working on this Java program that is to emulate an ATM. I am having an issue with the program calling my functions. The code currently does not run. The user inputs 1,2, or 3 and the code breaks because I am assuming that the constructor is … | |
[CODE][/CODE]Hi, I hve some problem with inline attachment file.i already done with attached file,but when receiver receive the email,it not same like attached.for example like below. in the attach file: age total 12 - 15 5 16 - 20 8 21 - 25 10 when receive it becomes like that: … | |
is there any code that is the same as the distinct function of mysql to mssql? thanks in advance..^^ | |
is it possible, that when a user clicks an image, it will automatically add a row to the table? this is table.. | |
My code is giving a wrong output for the 3rd pair of vectors im finding the dot product of, although the first two are correct. (outputs - 0, 3, -3(should be 1))... I just cant find wahts wrong, i was guessing something to do with the -1 in the b … | |
My application freezes randomly with no error output. I've been beating my head over it's code and don't want to continue working on it until this problem is resolved. I'm thinking it's a synchronization problem. I've attached the source code. Any help would be greatly appreciated. | |
Hello, thanks for reading my thread. I'm still new to web development so I appreciate your help in advance. Here is the issue I am having: In my project, I have a index.php page with a sidebar menu and a div id called “content”.The user can select different menu items … | |
[B]$? in linux gives the exit status of the recently executed command , as i have learnt. suppose i give a cd command at the terminal and if such a directory or file is not present, echo $? following it gives me 1. but, when the same is run via … |
The End.