473,385 Members | 1,192 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.

String getting chopped off

I am passing a string of text between a page and a database. It is a
book title, which consists of 2 or three words, and only the first
word is passing to the database. The page that passes the string has
the whole string on it, but somewhere between the passing and the
receiving, the string is getting chopped off at the first word.

Here is the text that's passing the string:
response.write "<input type=hidden name=title" & " value=" &
rs("title") & ">"

and here is the code that is receiving it:
title=request.form("title")

I've tried adding various ' here and there, but it only causes the
pages to crash. Can someone please show me where I'm going wrong? I
know it has something to do with having quotes or ' somewhere, but I
can't quite understand where.

Thank you!

Bill
Jul 19 '05 #1
1 1864
.....value='" & rs(..) & "'....

Put single quotes around the Value=''
--
----------------------------------------------------------
Curt Christianson (Software_AT_Darkfalz.Com)
Owner/Lead Designer, DF-Software
http://www.Darkfalz.com
---------------------------------------------------------
...Offering free scripts & code snippits for everyone...
---------------------------------------------------------
"Bill" <bi***********@gospellight.com> wrote in message
news:8d**************************@posting.google.c om...
I am passing a string of text between a page and a database. It is a
book title, which consists of 2 or three words, and only the first
word is passing to the database. The page that passes the string has
the whole string on it, but somewhere between the passing and the
receiving, the string is getting chopped off at the first word.

Here is the text that's passing the string:
response.write "<input type=hidden name=title" & " value=" &
rs("title") & ">"

and here is the code that is receiving it:
title=request.form("title")

I've tried adding various ' here and there, but it only causes the
pages to crash. Can someone please show me where I'm going wrong? I
know it has something to do with having quotes or ' somewhere, but I
can't quite understand where.

Thank you!

Bill

Jul 19 '05 #2

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

Similar topics

4
by: Bill | last post by:
I'm submitting a string of data, with several words in it. When I try to retreive it from the database, I'm finding the words of the string have been removed. For example, if the string entered is...
4
by: Paul Jackson | last post by:
I have the following situation: class Y; class Z; class X { public: Y y; Z* z; };
26
by: Kai Jaensch | last post by:
Hello, i am an newbie and i have to to solve this problem as fast as i can. But at this time i donīt have a lot of success. Can anybody help me (and understand my english :-))? I have a...
4
by: Ray Mitchell | last post by:
Hello, My understanding is that C++ string class objects still terminate their strings with a '\0', as do strings in C. If this is the case (please tell me if it isn't), it appears that the...
0
by: Roedy Green | last post by:
I notice if I make padding too big on an element, when it is in a table it gets chopped off. Is there anything other than the padding on the TD that could be affecting this? -- Bush crime...
6
by: Mark | last post by:
Hi, My page has a table with many columns such that the right-side of the table gets chopped off when printed. I specify a table width of 100%, but otherwise no cell dimensions are specified. ...
6
by: Pucca | last post by:
My container with 2 panels containning Treeveiw and Listview controls are chopped off on the top by the toolstripmenu when I dock the these 2 contols in the parent container and the container is...
26
by: drako | last post by:
Hi, I'm a bit stumped as I am getting a "Notice: Array to String Conversion" error when trying to do something that on the surface should be a very simple task - create an array, and write a set...
2
by: =?Utf-8?B?S3VtYXI=?= | last post by:
I am using granados telnet client for connecting to the telnet and get the data from it. Every thing appears to be going smooth. But for some reason when I try to write the byte data to a string or...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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: 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...

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.