I have a problem with a view call in php:
$query = "SELECT * FROM contact_numers_view";
$result=mysql_fetch_array(mysql_query($query));
//conversion from array to string
$separater = implode(",", $result);
on echo $separater
I should get a number 100020 but instead of this I get it doubled like 100020, 100020
Any hint about what is wrong?
The view is:
CREATE VIEW contact_numers_view AS
SELECT COUNT(*) FROM contacts;