473,385 Members | 1,766 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Code examples

Hi Guys,

Does anybody know where I can get a very basic view/add/edit script for
a single table? I need to view all the rows at the same time and be
able to edit from that point.

I have 4 fields called id, lowerval, upperval, result. Table is called
fig_lookup. I am very new indeed to mysql, so if you know of any basic
code which would suffice, or could post some that would be brill.

Thanks

Feb 4 '06 #1
3 1163
UKuser wrote:
Hi Guys,

Does anybody know where I can get a very basic view/add/edit script for
a single table? I need to view all the rows at the same time and be
able to edit from that point.

I have 4 fields called id, lowerval, upperval, result. Table is called
fig_lookup. I am very new indeed to mysql, so if you know of any basic
code which would suffice, or could post some that would be brill.


Do you mean sql queries? The term script confuses me as you didn't
mention any programming language for the script. So here are the plain
sql queries. I hope you know how to use them in your script:

insert into fig_lookup(id,loweval,upperval,result) values('1','1','1','1');

insert into fig_lookup(id,loweval,upperval,result) values('2','2','2','2');

update fig_lookup set lowerval='10',upperval='20' where id='2';

select * from fig_lookup;
Feb 4 '06 #2
"UKuser" <sp********@yahoo.co.uk> wrote in message
news:11**********************@g44g2000cwa.googlegr oups.com...
Does anybody know where I can get a very basic view/add/edit script for
a single table? I need to view all the rows at the same time and be
able to edit from that point.


MySQL Query Browser can do this.
See
http://dev.mysql.com/doc/query-brows...gtabsheet.html

Download MQB here:
http://dev.mysql.com/downloads/query-browser/1.1.html

Regards,
Bill K.
Feb 4 '06 #3
Thanks for the info.

Apologies for referring to it as a script, I did mean query.

I know the fields I wish to query, I just want to create a
simple/customisable PHP table (i.e)

[val1][val1b][*] astrix to edit (or type in field)
[val2][val2b] [ ]
[val3][val3b] [ ]

In short, so it displays all the info, but in editable fields (or
editable if you say ticked an approrpiate link box). I have found a
highly detailed example, but wondered if there was anything simpler.

Thanks

Feb 4 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Mario T. Lanza | last post by:
Greetings, I don't know about you guys but on many occasions I've asked myself whether or not someone else has solved a particular programming issue -- whether or not they developed a clever...
109
by: Andrew Thompson | last post by:
It seems most people get there JS off web sites, which is entirely logical. But it is also a great pity since most of that code is of such poor quality. I was looking through the JS FAQ for any...
12
by: Davids | last post by:
hello I'm finding lots of .Net code examples/applications but their all in VB and I want to learn doing them c# way... any sites you can recommend?
6
by: Paolo Pignatelli | last post by:
I have an aspx code behind page that goes something like this in the HTML view: <asp:HyperLink id=HyperLink1 runat="server" NavigateUrl='<%#"mailto:" &amp;...
5
by: | last post by:
Trying to learn about manipulating collections of objects, and populating these objects dynamically from datasources. Could someone post a code sample that shows the following: Instantiating a...
5
by: clintonG | last post by:
Neither MSDN code examples nor will function. Has anybody figured out how to use the 2.0 classes, methods and properties to dynamically create HTML in the HTML <head> element? I've burned...
3
by: Dorte | last post by:
Hi, Could someone help me with a couple of links to SqlDatasource documentation on how to use the Gridview and SqlDatasource components in code behind? Basically I'm missing some documentation...
10
by: Jim Hubbard | last post by:
I purchased Infragistics NetAdvantage 2006 Volume 1 CLR 2.0 and was mildly shocked to see no sample apps included that showed the code/settings required to replicate the UI components shown in the...
135
by: Xah Lee | last post by:
Tabs versus Spaces in Source Code Xah Lee, 2006-05-13 In coding a computer program, there's often the choices of tabs or spaces for code indentation. There is a large amount of confusion about...
17
by: Mark | last post by:
I must create a routine that finds tokens in small, arbitrary VB code snippets. For example, it might have to find all occurrences of {Formula} I was thinking that using regular expressions...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.