Odp: [PHP-DB] mssql update adds blank to record

From: Date: Thu, 06 Sep 2001 08:25:24 +0000
Subject: Odp: [PHP-DB] mssql update adds blank to record
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-12211@lists.php.net to get a copy of this message
Try ltrim($Device_Name); before running query Bartek Pawlik ----- Original Message ----- From: Stephan Nimtz <stephan.nimtz@cchbc.com> To: <php-db@lists.php.net> Sent: Thursday, September 06, 2001 10:21 AM Subject: [PHP-DB] mssql update adds blank to record > can anyone help me ??? > > the command: > > mssql_query("UPDATE IP_Host > SET Device_Name='$Device_Name', > Device_Owner='$Device_Owner', > Description='$Description' > WHERE ID=$ID"); > > creates always a blank character at the first position of the record. > > how can i get rid of that ??? > > thx stephan > > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net > For additional commands, e-mail: php-db-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > -- OnetKomunikator - porozumiesz sie z innymi [ http://ok.onet.pl/instaluj.html ]

« previous php.db (#12211) next »