[snip]
telephone_number='$telcode.$telnumber',

only the telcode gets inserted.
[/snip]

Concat them before placing into the query...(have you echo'd $telnumber
to make sure it is not empty?)

$wholeTelNumber = $telcode . $telnumber;
echo $wholeTelNumber;

telephone_number='$wholeTelNumber',

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to