Re: slashes in update statement

2004-11-04 Thread ian douglas
I'm trying to get a slash in a variable into my database and am having some trouble. If the variable = "1 1/2" it echoes to the screen correctly but it seems to strip the 1/2 off the variable when updating the value to the database. Just FYI to everyone replying: Ed replied to me personally admitti

Re: slashes in update statement

2004-11-04 Thread Andrew Kreps
On Wed, 3 Nov 2004 08:31:18 -0500 (EST), Ed Curtis <[EMAIL PROTECTED]> wrote: > > I'm trying to get a slash in a variable into my database and am having > some trouble. If the variable = "1 1/2" it echoes to the screen correctly > but it seems to strip the 1/2 off the variable when updating the va

Re: slashes in update statement

2004-11-03 Thread Santino
Do you use POST or GET in the form? Try with a post. Santino At 8:31 -0500 3-11-2004, Ed Curtis wrote: I'm trying to get a slash in a variable into my database and am having some trouble. If the variable = "1 1/2" it echoes to the screen correctly but it seems to strip the 1/2 off the variable when

Re: slashes in update statement

2004-11-03 Thread Gleb Paharenko
Hi. What type of the field in which you insert? Send us output of SHOW CREATE TABLE 'table'. Ed Curtis <[EMAIL PROTECTED]> wrote: > > I'm trying to get a slash in a variable into my database and am having > some trouble. If the variable = "1 1/2" it echoes to the screen correctly >