473,388 Members | 1,188 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,388 software developers and data experts.

Formattable Textbox for Entry into MySQL database

ifedi
60
Hi anyone,
I'll put it straight..
I need to use a textbox SUCH AS THIS ONE INTO WHICH I TYPE AS I WRITE, such that formatted text can be sent into a MYSQL text type field. On another page, I should be able to query out this database field into a different textbox, retaining any formatting initially applied in the first textbox..
Thanks in advance.
Ifedi.
Apr 29 '09 #1
3 2087
pronerd
392 Expert 256MB
@ifedi
This is not clear. MySQL is a database not a form field. So there is no field type of MySQL. Also since it sounds like you want to be able to do database access you will need a server side technology like ASP, JSP, PHP, etc. You can not access a database with JavaScript by it self.
Apr 29 '09 #2
acoder
16,027 Expert Mod 8TB
Is the text box a WYSIWYG one or a simple one with [b], [u], [code], etc. tags?

If it's a simple one, you can just take the text like a normal text area and insert into the database using server-side code. Do you want to do this without unloading the page?
Apr 30 '09 #3
Ciary
247 Expert 100+
if you do, use an ajax request and POST (otherwise the url is going to be too long) the text. on the loaded page you execute an sqlquery in which you insert the text in your mysql. when you dont mind the page reloads, you can simply post the data and put it in your mysql on page load.
Apr 30 '09 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: skeeterbug | last post by:
hi all, i'm new to using php, adodb and pgsql. i have a need to enter data into a database. however, i can't find a web example or tutorial that explains the nuts and bolts of how this is...
12
by: Jerry Weinstein | last post by:
Hi, I know about stored procedures and that they can speed up data entry via the SQL 'insert ' statement. However, one drawback to this method is that using the stored procedure still requires...
3
by: intl04 | last post by:
Is it possible to create a Word form as the data entry form for an Access database? I didn't see any reference to this possibility in my Access books, so I'm sorry if this is a question that is...
8
by: Shawn | last post by:
I have an application that will use barcode scanners to enter an ID to search a database. The main form uses a tab page. I would like people to go to the tab for checking in and just read the...
3
by: millw0rm | last post by:
I got a textbox with name = action, whn a key is press (eg. 'm') it sends a query to database grabs data from server n send data back keywords found, each keyword got a function called...
1
by: Developer | last post by:
VC++ 2005 Express Edition: I have a textBox with the properties: this->m_TextBox_Desc->Multiline = true; this->m_TextBox_Desc->WordWrap = true; this->m_TextBox_Desc->ScrollBars =...
0
by: Allan Kim Jensen | last post by:
Hello, I am trying to retrieve data from a MySql database using ASP.net, and it works fine when putting the result into a gridview (Code provided in the end of this mail). However, I'd like...
2
by: Greg | last post by:
I am working on an application that requires working with numbers in scientific notation. I am using SqlServer as the database and I have created strongly typed data adapters and datasets. The...
4
by: MissElegant | last post by:
Hi all, I have tried to do a test to a lesson which was in the internet, but it doesn't work? ANYBody here to help please?? The problem that what I enter in the textbox should be sent to the...
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: 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
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.