Oppure
Codice PHP:
<?php
$array = array();
$result = mysqli_query($con,"SELECT * FROM brand");
while($row = mysqli_fetch_array($result)) {
$array[] = "'". $row['brand'] ."'";
}
$string = implode(',',$array);
print $string;
?>
Oppure
Codice PHP:
<?php
$array = array();
$result = mysqli_query($con,"SELECT * FROM brand");
while($row = mysqli_fetch_array($result)) {
$array[] = "'". $row['brand'] ."'";
}
$string = implode(',',$array);
print $string;
?>
Ridatemi i miei 1000 posts persi !!!!
Non serve a nulla ottimizzare qualcosa che non funziona.
Cerco il manuale dell'Olivetti LOGOS 80B - www.emmella.fr