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 value to > the database. I'm using php and a form select list to get this value from > a previous page. Any ideas? >
Have you tried using mysql_escape_string or mysql_real_escape_string? http://us2.php.net/manual/en/function.mysql-escape-string.php -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]