how to concatenate php variables in mysql query

From: Date: Wed, 22 Sep 2004 09:13:13 +0000
Subject: how to concatenate php variables in mysql query
Groups: php.general 
Request: Send a blank email to php-general+get-197537@lists.php.net to get a copy of this message
hi, i'm trying to concatenate two php variables (containing form data) in a mysql query. i'm currenty using the dot operator: telphone number =$telcode.$telnumber' but only the telcode gets written to the database. any ideas? many thanks, luke m.

« previous php.general (#197537) next »