955 Topics

Member Avatar for
Member Avatar for ms_sws

I would have "thought" it would be a simple thing to get the (unformatted) text in each cell of a dynamic table but I have failed to solve this problem. So...I have a table that the user can dynamically load with data. They click an add button to insert a …

Member Avatar for ms_sws
0
2K
Member Avatar for ashok_gayu

Guys, I have a dynamic HTML table which gets populated by coldfusion and displayed in the page, I have a column called performace which holds numeric values. I need to select the top 3 best performace value in the column and then highlight the entire row in different colours (top …

Member Avatar for fxm
0
178
Member Avatar for kishanvkumar

Hi, I would like to get help in designing a table for representing a range in a column. Lets say we have a excel sheet of a matrix like below. GameName | agegroup 20-24 | agegroup 25-29 ------------------------------------------ Cricket | ------5--------|-----7------ Football | ------3--------|-----9------ Lets say the numbers represent the …

Member Avatar for kishanvkumar
0
164
Member Avatar for Virangya

HELLO.. I've been designing web pages in dreamwaever 8 and i have put a table inside a div. No matter what i try the table wont scale accordingly inside the div. It always scales along the div. its width is 200px but automatically scale up to somewhere around 500px.. :( …

Member Avatar for tinimic
0
352
Member Avatar for tzushky

hi everyone, I have a tiny problem with a simple implementation: - i have a main window with a table in my central widget - i want to add stuff in the table gradually, and I allow only the 1st cell (index 0) of each row to be selectable. - …

Member Avatar for woooee
0
800
Member Avatar for ms_sws

I have built a marquee of images that scrolls inside a cell of a table. The marquee width, of course, is dictated by the width of the cell. But I don't want the number of images that actually scroll inside the marquee to cut off based on the width of …

Member Avatar for ms_sws
0
248
Member Avatar for TiZo

can anyone point me in the right direction >>> i have been trying to find out how to code/script the same as the Chelsea FC web site. In particular I am looking at how to achieve the functionality named Fixtures | Tickets | Memberships (just under main image of home …

Member Avatar for TiZo
0
89
Member Avatar for vs.vaidyanathan

hi, Is there any sql query to check if a table exists already in a database? Thanks in advance.:)

Member Avatar for vs.vaidyanathan
0
625
Member Avatar for aceriker

Hi guys, I'm fairly new to PHP and mySQL, using a book to help me learn. I want to create a small site to help me improve my skills, but I'm a bit stuck on the database design part. I want to be able to list various public companies and …

Member Avatar for rajarajan2017
0
99
Member Avatar for white feather

[CODE] public void setTableModel(List<Users> users) { eraseTableRows(); for (int i = 0; i < users.size(); i++) { Users u = users.get(i); tm.insertRow(i, new Object[] { stuff }); } } private void eraseTableRows() { for (int i = 0; i > tm.getRowCount(); i++) { tm.removeRow(i); } [/CODE] i've tried this and …

Member Avatar for white feather
0
143
Member Avatar for MaxDes

Hi all first post! I am attempting to read an XML and display certain portions of the XML in a datagridview. I was able to get one table at a time, but I am having trouble figuring out how to get ALL the info I want from the XML and …

Member Avatar for MaxDes
0
1K
Member Avatar for Ja14

This is as much of a question about algorithm as it is about code. I’m training monkeys to input data into a keyboard in the form of a table. I have created a special keyboard with nothing on it but numbers 0 - 9, a period, tab key and a …

Member Avatar for Ja14
0
121
Member Avatar for sallecpt

First of all, love the purple theme! If anyone could help me with this. I have read and tried numerous samples from other forums, but all is the same as what I have done. I am building a small classifieds site for my church. I wanted to display data in …

Member Avatar for sallecpt
0
163
Member Avatar for roostr

when i add the following: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> to the code the background colors for tables no longer show up and are transparent instead. even with <table style="background-color: ffffff;"> or <td style="background-color: ffffff;"> it is still transparent. I cannot figure out why this is happening. …

Member Avatar for diafol
0
108
Member Avatar for detoxx

I hope you can help me. I'm working on a program that will open any Access database that might be on the system. The problem I'm having is that I cant get get the SQL statement to show all the tables within the database. The code im using is as …

Member Avatar for detoxx
0
103
Member Avatar for rukshilag

Hi, well what i need to do is, through a certain interface there are assignment upload calls given by the admin, this is that interface [CODE]<html> <head> <script type="text/javascript"> function remlink(num){ var rownum=num; var rowid = "subname_"+rownum; var sn=document.getElementById(rowid).innerHTML; var cnfrm = confirm ("Are you sure you want to remove …

0
78
Member Avatar for Kusno

Dear all, I have a table that contains image data type and has more than 20,000 records. I want to change its file group to the new file group. I tried to change it using table designer, but everytime I wanted to save it, it occured an error with this …

Member Avatar for pclfw
0
134
Member Avatar for luap599

Hi my first insert statment works ok, My problem is that I wish to insert all the selected options passed from the form. into my user_req_opt table. Some items only have 1 option others may have 10 options. [CODE] $sql = "insert into user_requests(rq_id, user_id, code_ref, code_id, cat_id, opt_yn, rq_qty, …

Member Avatar for luap599
0
171
Member Avatar for silviud

hi, i have the following table: +------------------+-------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +------------------+-------------+------+-----+---------+----------------+ | IpAddressesID | int(11) | NO | PRI | NULL | auto_increment | | PhysicalServerID | int(11) | NO | | NULL | | | VmID | int(11) | …

Member Avatar for silviud
0
117
Member Avatar for xo_vicke93_xo

Hi, i'm not really sure how to explain this. I have a table with a lot of places sorted by date, all connected to a MySQL database. I'd like the table to update automatically everyday and remove the top ones where the date has passed so that the table only …

Member Avatar for liamfriel
0
95
Member Avatar for Phoenix127

We have a MDI main form, which contains a main menu and holds the properties and routines to - select, read and write a selected DAT-input file, and to convert the data to and from a MS-Access database - open forms like grids and specificly an InpMatrix (which shows INPUTMATH …

Member Avatar for Phoenix127
0
893
Member Avatar for dreinzy

Hi, I'm trying to code a league table system and I was wondering if there's an easy way of doing this: [CODE]$result=mysql_query("UPDATE Championship SET played="++1" WHERE team_name='$home_team'") or die(mysql_error());[/CODE] The problem lies in the played="++1" part, I can set it to be any integer, but that's not much use, I …

Member Avatar for dreinzy
0
100
Member Avatar for DarkT

Hi everyone. We were given a homework to code a hash table. The objects and their members were given by our professor and we were only supposed to implement the functions (Add, Remove, Contains and Print), so I shouldn't change the objects. I should also do a copy constructor and …

Member Avatar for DarkT
0
2K
Member Avatar for dottomm

hello and thank you in advance to anyone who can help me with this problem. I've scoured the internetz for a while trying to find a solution to what must be a common question, but I can't find anything that relates to what I am trying to do. I have …

Member Avatar for dottomm
0
163
Member Avatar for zulfahmi

Hi there, i new here and i would like to seek for advise or help regarding this matter. I have trouble in joining 2 table. the error is "type mismatch in expression" the query is Select R.*, P.HphoneNum, P.HeirHpNum from PendingReport R, PatientTable P Where P.PatientID = R.PatientID but when …

Member Avatar for Oxiegen
0
87
Member Avatar for rukshilag

working on a system with 2 tables both have the exact same fields - the tables are past_participant and course_participant - CP table has all current students whilst the PP has only past students. after a course concluded, that set of students is transferred from CP to the PP table. …

Member Avatar for drjohn
0
218
Member Avatar for shellom2005

hi, I have these two tables: [CODE]personal_details (staff_ID integer PRIMARY KEY, title varchar(10), fn varchar(250), ln varchar(250), mn varchar(250), dob varchar(50), hometown varchar(250), securityno varchar(50), phone varchar(15), phone2 varchar(15), phone3 varchar(15), email varchar(50), address varchar(300), confirmation varchar(50), retirement varchar(50));[/CODE] and [CODE]training( training_ID integer primary key NOT NULL, staff_ID varchar(100), training_level …

Member Avatar for urtrivedi
0
441
Member Avatar for Flybro

Hi, I tried to use dynamic table names like: [CODE]create table outgoing_%Y%m%d ( ip_src CHAR(15) NOT NULL, ip_dst CHAR(15) NOT NULL, src_port INT(2) UNSIGNED NOT NULL, dst_port INT(2) UNSIGNED NOT NULL, stamp DATETIME, PRIMARY KEY (ip_src, ip_dst, src_port, dst_port, stamp_inserted) ); [/CODE] but every time i got message about syntax …

Member Avatar for drjohn
0
115
Member Avatar for avilporwal

Hello, I am stucked while making code in PHP. I actually want to make a table in database with name as username (of the respective user). (table should be formed only when no such table exisit before) I used session to get username and every thing is right except formation …

Member Avatar for diafol
0
87
Member Avatar for rukshilag

[CODE]//only completed successfully if($cs =='yes') { $sql = "select * from past_participant where completion LIKE '%$cs%'"; $result = mysql_query($sql); $num_rows= mysql_num_rows($result); } else if($cs =='no') { $sql = "select * from course_participant FULL JOIN past_participant ON completion LIKE '%$cs%'"; $result = mysql_query($sql); //$num_rows= mysql_num_rows($result); }else if($cs =='current') { $sql = …

0
65

The End.