- 1
- 2
- 3
- 4
- 5
- 6
- 7
$query = " SELECT * FROM `costs` WHERE NID = ".$id;
$res = mysql_query($query);
$result = "var gggg = new Array(";
while($row = mysql_fetch_row($res)) {
$result = $result. "Array(".$row[0].",".$row[2].",".$row[3].",".$row[4].",".$row[5].",".$row[6].",'".$row[7]."'),";
}
echo $result;
Комментарии (0) RSS
Добавить комментарий